We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba94dfa commit 97ce3dfCopy full SHA for 97ce3df
spec/rspec/active_model/mocks/stub_model_spec.rb
@@ -185,7 +185,7 @@ def model_class
185
it "works for multiple mocks of the same model" do
186
foo = stub_model(MockableModel)
187
bar = stub_model(MockableModel)
188
- baz = mock_model(MockableModelNoPrimaryKey)
+ baz = stub_model(MockableModelNoPrimaryKey)
189
qux = stub_model(MockableModel)
190
191
expect(MockableModel === foo).to be(true)
0 commit comments