Displaying 1 result from an estimated 1 matches for "quizmaker_demo".
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
...a.?
In spec_helper.rb, I commented out the line: #
config.mock_with :mocha
I also saw a require ''mocha'' statement in test_helper that I removed.
---------------------------------------------------------------------------------------------------------------------
11:41 /c/work/quizmaker_demo (questions)$ spec spec
...................................c:/work/quizmaker_demo/spec/models/
user_spec.rb:86
User.authenticate(''nonexisting'', ''secret'').should be_nil
(rdb:1) s
c:/tools/ruby/ruby186/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/
class_method.rb:40...