cirandas.net

ref: master

features/support/rspec.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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