Skip to content

Instantly share code, notes, and snippets.

@tuffs
Created June 3, 2018 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuffs/0c563bf92a0642f66af6ffd89c5fdb1b to your computer and use it in GitHub Desktop.
Save tuffs/0c563bf92a0642f66af6ffd89c5fdb1b to your computer and use it in GitHub Desktop.
RSpec with Capybara spec_helper.rb
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