[rspec-users] Need to clear Mocha expectation?
Peter Degen-Portnoy
lists at ruby-forum.com
Fri Oct 3 10:09:19 EDT 2008
David Chelimsky wrote:
> First, the fix: in spec_helper.rb
>
> Spec::Runner.configure do |config|
> ...
> config.mock_with :mocha
> ...
> end
>
Indeed! There was even such a line ready to be uncommented in
spec_helper.rb
Thank you so very much! That did indeed fix the problem nicely.
- Peter
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list