spec/spec_helper.rb in savon-2.2.0 vs spec/spec_helper.rb in savon-2.3.0
- old
+ new
@@ -1,11 +1,14 @@
require "bundler"
Bundler.setup(:default, :development)
-if ENV["COVERAGE"]
+unless RUBY_PLATFORM =~ /java/
require "simplecov"
+ require "coveralls"
+
+ SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
- add_filter "/spec/"
+ add_filter "spec"
end
end
require "savon"
require "rspec"