From 5e29b7f912a1a55a5358e72d83ff0db385e02c88 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Thu, 15 Feb 2018 16:04:34 +0100 Subject: [PATCH] Enfore RSpec expect syntax --- spec/spec_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ee8ba43..878eb13 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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