Skip to content

Instantly share code, notes, and snippets.

@rwjblue
Created July 18, 2013 15:26
Show Gist options
  • Save rwjblue/6030261 to your computer and use it in GitHub Desktop.
Save rwjblue/6030261 to your computer and use it in GitHub Desktop.
Disable RSpec's should syntax.
RSpec.configure do |config|
# disable the `should` syntax...
config.expect_with :rspec do |c|
c.syntax = :expect
end
config.mock_with :rspec do |c|
c.syntax = :expect
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment