mirror of
https://github.com/meineerde/rackstash.git
synced 2026-02-01 01:37:12 +00:00
Enfore RSpec expect syntax
This commit is contained in:
parent
dab393ee21
commit
5e29b7f912
@ -41,6 +41,10 @@ RSpec.configure do |config|
|
||||
# Disable RSpec exposing methods globally on `Module` and `main`
|
||||
config.disable_monkey_patching!
|
||||
|
||||
config.expect_with :rspec do |c|
|
||||
c.syntax = :expect
|
||||
end
|
||||
|
||||
config.mock_with :rspec do |mocks|
|
||||
# This option should be set when all dependencies are being loaded
|
||||
# before a spec run, as is the case in a typical spec helper. It will
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user