Created
July 18, 2013 15:26
-
-
Save rwjblue/6030261 to your computer and use it in GitHub Desktop.
Disable RSpec's should syntax.
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| | |
# 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