spec/spec_helper.rb in hackpad-cli-0.1.3 vs spec/spec_helper.rb in hackpad-cli-0.1.4
- old
+ new
@@ -17,10 +17,12 @@
# require "codeclimate-test-reporter"
# CodeClimate::TestReporter.start
end
RSpec.configure do |config|
- config.mock_with :rspec
+ config.mock_with :rspec do |c|
+ c.syntax = [:should, :expect]
+ end
config.expect_with :rspec do |c|
c.syntax = :expect
end
end