Closed gma closed 12 years ago
Mocha's running fine for me in a simple test case. Do you have :require => false in your Gemfile on mocha so that it's loaded at the right time?
No, I'd missed that. Ooops. All tests are passing now thanks!
:metal: Awesome!
I've got tconsole running my tests now, but any of them that use mocha's
stub
method fail with this error:I wondered if it might be because those tests are in
test/presenters
which isn't covered by a file set, so I created this.tconsole
file:The tests still don't pass. They pass with no problem when run from the command line with
bundle exec ruby...
. I launchedtconsole
withbundle exec
too.The tests that are failing should definitely be able to find
mocha
; theirtest_helper.rb
file requiresmocha
explicitly.