failed expectation not flunking spec
-
James Mead
- State changed from new to open
Hi Tom. Thanks for reporting this. Can you tell me what version of MiniTest you are using? Is it the version built-in to Ruby v1.9.2 or are you using it as a gem? Could you do me a favour and run the tests with the following environment variable set and post the output here? Thanks, James.
MOCHA_OPTIONS=debug -
Tom Macklin
Sorry for the delay, I've been unplugged for the holidays. I am pretty sure I am using the built-in minitest/spec with MRI 1.9.2 as I am never bringing in the minitest-spec gem explicitly. That said, I do have the minitest-spec gem loaded (why? I am not sure).
I exported the variable:
tomm$ set |grep MOCHA
MOCHA_OPTIONS=debugHere is the output:
tomm$ rake test (in /Users/tomm/projects/gateway) Loaded suite /usr/local/lib/ruby/1.9.1/rake/rake_test_loader
Started
..........................S........ Finished in 0.124953 seconds.1) Skipped: (GatewaySpec) [test/gateway_test.rb:101]: Reevaluate the merit of puking in this condition.
35 tests, 32 assertions, 0 failures, 0 errors, 1 skips
Test run options: --seed 14031
Doesn't seem too helpful though. The skipped test isn't relevant, I just included it for completeness sake.
-
James Mead
Sorry for the slow response. Can you try using the following command line :-
MOCHA_OPTIONS=debug rake testAnd paste the output here. Also can you see whether the latest version of Mocha v0.10.3 fixes your problem?
Thanks, James.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.