Created
June 3, 2018 15:45
-
-
Save tuffs/0c563bf92a0642f66af6ffd89c5fdb1b to your computer and use it in GitHub Desktop.
RSpec with Capybara spec_helper.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment