File tree 2 files changed +9
-24
lines changed
2 files changed +9
-24
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
22
22
spec . add_development_dependency "async-rspec" , "~> 1.2"
23
23
24
+ spec . add_development_dependency "covered"
24
25
spec . add_development_dependency "bundler"
25
26
spec . add_development_dependency "rspec" , "~> 3.6"
26
27
spec . add_development_dependency "rake"
Original file line number Diff line number Diff line change 1
1
2
- if ENV [ 'COVERAGE' ] || ENV [ 'TRAVIS' ]
3
- begin
4
- require 'simplecov'
5
-
6
- SimpleCov . start do
7
- add_filter "/spec/"
8
- end
9
-
10
- if ENV [ 'TRAVIS' ]
11
- require 'coveralls'
12
- Coveralls . wear!
13
- end
14
- rescue LoadError
15
- warn "Could not load simplecov: #{ $!} "
16
- end
17
- end
18
-
19
- require "bundler/setup"
20
- require "async/http"
2
+ require 'covered/rspec'
21
3
22
4
RSpec . configure do |config |
23
- # Enable flags like --only-failures and --next-failure
24
- config . example_status_persistence_file_path = ".rspec_status"
5
+ config . disable_monkey_patching!
6
+
7
+ # Enable flags like --only-failures and --next-failure
8
+ config . example_status_persistence_file_path = ".rspec_status"
25
9
26
- config . expect_with :rspec do |c |
27
- c . syntax = :expect
28
- end
10
+ config . expect_with :rspec do |c |
11
+ c . syntax = :expect
12
+ end
29
13
end
You can’t perform that action at this time.
0 commit comments