Skip to content

Commit 46a6e78

Browse files
Richard Pijnenburgjordansissel
authored andcommitted
Add missing tests
Fixes #1758
1 parent 17e282c commit 46a6e78

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

spec/examples/fail2ban.rb renamed to spec/examples/fail2ban_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# encoding: utf-8
22

3-
require "test_utils"
3+
require "spec_helper"
44

55
describe "fail2ban logs", :if => RUBY_ENGINE == "jruby" do
6-
extend LogStash::RSpec
6+
77

88
# The logstash config goes here.
99
# At this time, only filters are supported.

spec/examples/graphite-input.rb renamed to spec/examples/graphite-input_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# encoding: utf-8
22

3-
require "test_utils"
3+
require "spec_helper"
44

55
describe "receive graphite input", :if => RUBY_ENGINE == "jruby" do
6-
extend LogStash::RSpec
6+
77

88
# The logstash config goes here.
99
# At this time, only filters are supported.

spec/examples/mysql-slow-query.rb renamed to spec/examples/mysql-slow-query_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
require "test_utils"
1+
require "spec_helper"
22

33
# Skip until we convert this to use multiline codec
44
describe "parse mysql slow query log", :if => false do
5-
extend LogStash::RSpec
5+
66

77
config <<-'CONFIG'
88
filter {

spec/examples/parse-apache-logs.rb renamed to spec/examples/parse-apache-logs_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# encoding: utf-8
22

3-
require "test_utils"
3+
require "spec_helper"
44

55
describe "apache common log format", :if => RUBY_ENGINE == "jruby" do
6-
extend LogStash::RSpec
6+
77

88
# The logstash config goes here.
99
# At this time, only filters are supported.

spec/examples/parse-haproxy-logs.rb renamed to spec/examples/parse-haproxy-logs_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# encoding: utf-8
22

3-
require "test_utils"
3+
require "spec_helper"
44

55
describe "haproxy httplog format" do
6-
extend LogStash::RSpec
6+
77

88
# The logstash config goes here.
99
# At this time, only filters are supported.

spec/examples/syslog.rb renamed to spec/examples/syslog_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# encoding: utf-8
22

3-
require "test_utils"
3+
require "spec_helper"
44

55
describe "parse syslog", :if => RUBY_ENGINE == "jruby" do
6-
extend LogStash::RSpec
6+
77

88
config <<-'CONFIG'
99
filter {

spec/filters/grok/timeouts.rb renamed to spec/filters/grok/timeout1_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require "test_utils"
1+
require "spec_helper"
22
require "grok-pure"
33
require "timeout"
44

spec/filters/grok/timeout2.rb renamed to spec/filters/grok/timeout2_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
require "test_utils"
1+
require "spec_helper"
22
require "grok-pure"
33
require "timeout"
44

55
describe "grok known timeout failures" do
6-
extend LogStash::RSpec
6+
77

88
describe "user reported timeout" do
99
config <<-'CONFIG'

0 commit comments

Comments
 (0)