1
0
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:
Holger Just 2018-02-15 16:04:34 +01:00
parent dab393ee21
commit 5e29b7f912

View File

@ -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