disable deprecated "should" syntax
This commit is contained in:
parent
2dbb942f43
commit
f209714e40
@ -27,4 +27,10 @@ RSpec.configure do |config|
|
|||||||
|
|
||||||
# Specify the operating version to mock Ohai data from (default: nil)
|
# Specify the operating version to mock Ohai data from (default: nil)
|
||||||
config.version = '11.03'
|
config.version = '11.03'
|
||||||
|
|
||||||
|
# Disable deprecated "should" syntax
|
||||||
|
# https://github.com/rspec/rspec-expectations/blob/master/Should.md
|
||||||
|
config.expect_with :rspec do |c|
|
||||||
|
c.syntax = :expect
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user