-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable the test execution again by removing the broken filter, added …
…also two development dependencies to run the test, but this test need a bit more work to do what is expected Fixes #9
- Loading branch information
1 parent
1f4b61e
commit 08e625e
Showing
3 changed files
with
66 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require "logstash/devutils/rspec/spec_helper" | ||
|
||
# use a dummy NOOP filter to test Filters::Base | ||
class LogStash::Filters::NOOP < LogStash::Filters::Base | ||
config_name "noop" | ||
milestone 2 | ||
|
||
def register; end | ||
|
||
def filter(event) | ||
return unless filter?(event) | ||
filter_matched(event) | ||
end | ||
end |