Please sign in to comment.
Replace Bourne with RSpec Mocks
We explicitly request RSpec Rails >= 2.14 in order to get the stubbing and spying features of RSpec Mocks: rspec/rspec-mocks@e8cae54 We don't need to include the `rspec-mocks` gem directly in the `Gemfile` or directly configure it in `spec/spec_helper.rb` because `rspec-rails` includes it as a dependency and defaults the `mock_with` configuration to it. Benefits: * Officially supported by RSpec team. * Compact. * Good failure messages.
- Loading branch information...
Showing with 2 additions and 8 deletions.