spec/spec_helper.rb in braintree-2.86.0 vs spec/spec_helper.rb in braintree-2.87.0
- old
+ new
@@ -217,9 +217,14 @@
end
RSpec.configure do |config|
config.include CustomMatchers
+ if ENV["JUNIT"] == "1"
+ config.add_formatter("RspecJunitFormatter", "tmp/build/braintree-ruby.#{rand}.junit.xml")
+ config.add_formatter("progress")
+ end
+
config.expect_with :rspec do |expect|
expect.syntax = [:should, :expect]
end
config.mock_with :rspec do |mock|