Using stub from rspec-mocks' old :should syntax without explicitly enabling the syntax is deprecated. Use the new :expect syntax or explicitly enable :should instead.
If I add RSpec::Mocks.configuration.syntax = :original the method is no longer available
Calling
stub_model
gives me:Using
stub
from rspec-mocks' old:should
syntax without explicitly enabling the syntax is deprecated. Use the new:expect
syntax or explicitly enable:should
instead.If I add
RSpec::Mocks.configuration.syntax = :original
the method is no longer available