spec: Embrace rspec3
This commit is contained in:
parent
41716e9100
commit
c2d0e0a02c
1 changed files with 4 additions and 0 deletions
|
@ -28,4 +28,8 @@ RSpec.configure do |config|
|
||||||
config.mock_with :rspec do |c|
|
config.mock_with :rspec do |c|
|
||||||
c.yield_receiver_to_any_instance_implementation_blocks = true
|
c.yield_receiver_to_any_instance_implementation_blocks = true
|
||||||
end
|
end
|
||||||
|
config.expect_with :rspec do |c|
|
||||||
|
c.syntax = :expect
|
||||||
|
end
|
||||||
|
config.raise_errors_for_deprecations!
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue