From 8bb7b83a41c84bd2caa3c4aab38315b7427679ef Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Sat, 21 Nov 2015 14:44:44 -0300 Subject: [PATCH] rspec3: enable deprecated should syntax --- features/support/rspec.rb | 11 +++++++++++ 1 file changed, 11 insertions(+), 0 deletions(-) create mode 100644 features/support/rspec.rb diff --git a/features/support/rspec.rb b/features/support/rspec.rb new file mode 100644 index 0000000..6bd486e --- /dev/null +++ b/features/support/rspec.rb @@ -0,0 +1,11 @@ +require 'rspec' + +# FIXME: should syntax is DEPRECATED +RSpec.configure do |config| + config.mock_with :rspec do |c| + c.syntax = [:should, :expect] + end + config.expect_with :rspec do |c| + c.syntax = [:should, :expect] + end +end -- libgit2 0.21.2