Skip to content

Commit 3ea4dc0

Browse files
author
☃ pitr
committed
fix coveralls
1 parent 8cb7633 commit 3ea4dc0

File tree

5 files changed

+13
-21
lines changed

5 files changed

+13
-21
lines changed

.coveralls.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
service_name: travis-ci
2+

Rakefile

-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ Rake::TestTask.new(:test) do |test|
88
end
99

1010
task :default => :test
11-

test/helper.rb

+9
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
require 'test/unit'
12
require 'minitest/pride'
3+
4+
require 'webmock/test_unit'
5+
WebMock.disable_net_connect!
6+
7+
require 'fluent/test'
8+
9+
require 'coveralls'
10+
Coveralls.wear!

test/plugin/test_out_elasticsearch.rb

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
require 'test/unit'
1+
require 'helper'
22

3-
require 'fluent/test'
43
require 'fluent/plugin/out_elasticsearch'
54

6-
require 'webmock/test_unit'
75
require 'date'
86

9-
$:.push File.expand_path("../..", __FILE__)
10-
$:.push File.dirname(__FILE__)
11-
12-
require 'helper'
13-
14-
WebMock.disable_net_connect!
15-
167
class ElasticsearchOutput < Test::Unit::TestCase
178
attr_accessor :index_cmds, :index_command_counts
189

test/plugin/test_out_elasticsearch_dynamic.rb

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
require 'test/unit'
1+
require 'helper'
22

3-
require 'fluent/test'
43
require 'fluent/plugin/out_elasticsearch_dynamic'
54

6-
require 'webmock/test_unit'
75
require 'date'
86

9-
$:.push File.expand_path("../..", __FILE__)
10-
$:.push File.dirname(__FILE__)
11-
12-
require 'helper'
13-
14-
WebMock.disable_net_connect!
15-
167
class ElasticsearchOutputDynamic < Test::Unit::TestCase
178
attr_accessor :index_cmds, :index_command_counts
189

0 commit comments

Comments
 (0)