rspec / rspec-activemodel-mocks

Add stub_model and mock_model to rspec-mocks
MIT License
119 stars 32 forks source link

deprecation warning #24

Open jtmarmon opened 8 years ago

jtmarmon commented 8 years ago

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