spec/spec_helper.rb in savon-2.12.1 vs spec/spec_helper.rb in savon-2.13.0
- old
+ new
@@ -1,13 +1,12 @@
+# frozen_string_literal: true
require "bundler"
+require "byebug"
Bundler.setup(:default, :development)
unless RUBY_PLATFORM =~ /java/
require "simplecov"
- require "coveralls"
-
- SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
add_filter "spec"
end
end
@@ -17,14 +16,16 @@
# don't have HTTPI lazy-load HTTPClient, because then
# it can't actually be refered to inside the specs.
require "httpclient"
support_files = File.expand_path("spec/support/**/*.rb")
-Dir[support_files].each { |file| require file }
+Dir[support_files].sort.each { |file| require file }
RSpec.configure do |config|
config.include SpecSupport
config.mock_with :mocha
config.order = "random"
+ config.example_status_persistence_file_path = ".rspec_status"
+ config.disable_monkey_patching!
end
HTTPI.log = false