2019-12-02 03:27:11 +00:00
|
|
|
require 'simplecov'
|
2020-06-12 17:42:47 +00:00
|
|
|
require 'webmock/rspec'
|
|
|
|
|
2019-12-02 03:27:11 +00:00
|
|
|
SimpleCov.start 'rails'
|
2020-06-12 17:42:47 +00:00
|
|
|
WebMock.allow_net_connect!
|
2019-12-02 03:27:11 +00:00
|
|
|
|
2019-08-25 14:29:28 +00:00
|
|
|
RSpec.configure do |config|
|
|
|
|
config.expect_with :rspec do |expectations|
|
|
|
|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
|
|
|
end
|
|
|
|
|
|
|
|
config.mock_with :rspec do |mocks|
|
|
|
|
mocks.verify_partial_doubles = true
|
|
|
|
end
|
|
|
|
|
|
|
|
config.shared_context_metadata_behavior = :apply_to_host_groups
|
|
|
|
end
|