features/mocks/mock_model.feature in rspec-rails-2.3.1 vs features/mocks/mock_model.feature in rspec-rails-2.4.0

- old
+ new

@@ -1,9 +1,9 @@ Feature: mock_model - The mock_model method generates a test double object that acts like an - Active Model model. This is different from the stub_model method which - generates an instance of a real ActiveModel class. + The mock_model method generates a test double that acts like an Active Model + model. This is different from the stub_model method which generates an + instance of a real ActiveModel class. The benefit of mock_model over stub_model is that its a true double, so the examples are not dependent on the behaviour (or mis-behaviour), or even the existence of any other code. If you're working on a controller spec and you need a model that doesn't exist, you can pass mock_model a string and the