Skip to content

Instantly share code, notes, and snippets.

@geoffharcourt
Created January 20, 2017 00:37
Show Gist options
  • Save geoffharcourt/6f9e7a0d1db29711e5cae8cb4647bae5 to your computer and use it in GitHub Desktop.
Save geoffharcourt/6f9e7a0d1db29711e5cae8cb4647bae5 to your computer and use it in GitHub Desktop.
# http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
config.expect_with :rspec do |expectations|
expectations.syntax = :expect
end
config.mock_with :rspec do |mocks|
mocks.syntax = :expect
mocks.verify_partial_doubles = true
end
config.example_status_persistence_file_path = "tmp/rspec_examples.txt"
config.order = :random
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment