spec: Embrace rspec3

This commit is contained in:
Fabio Rehm 2014-03-21 19:31:34 -03:00
parent 41716e9100
commit c2d0e0a02c

View file

@ -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