From c2d0e0a02ceab4e27c84f8c791989b528ac8f921 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Fri, 21 Mar 2014 19:31:34 -0300 Subject: [PATCH] spec: Embrace rspec3 --- spec/spec_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7a4d034..4c73626 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -28,4 +28,8 @@ RSpec.configure do |config| config.mock_with :rspec do |c| c.yield_receiver_to_any_instance_implementation_blocks = true end + config.expect_with :rspec do |c| + c.syntax = :expect + end + config.raise_errors_for_deprecations! end