Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Robert Stagner
RE: Errors while running included examples [ reply ]  
2008-11-03 22:25
Ok. That works now. Removing rspec v 1.1.11 and installing v 1.1.8 did the trick Thanks!

By: Robert Stagner
RE: Errors while running included examples [ reply ]  
2008-11-03 20:50
Great!! I'll give that a try and let you know how it goes. Thanks.

By: Hugh McGowan
RE: Errors while running included examples [ reply ]  
2008-11-03 19:20
Actually I see the problem now after updating rspec. I'll take a look and make a fix to work better with the latest rspec changes - in the meanttime you can work around it with:

gem uninstall rspec -v 1.1.11
gem install rspec -v 1.1.8

'gem list rspec' should show 1.1.8 as the latest version.

By: Hugh McGowan
RE: Errors while running included examples [ reply ]  
2008-11-03 18:25
Rasta doesn't use Test::Unit (it writes RSpec test cases on the fly) so I'm not sure how that's getting called. If you could attach the code you wrote I'm happy to take a look.

By: Robert Stagner
Errors while running included examples [ reply ]  
2008-11-03 18:17
I'm encountering some odd errors while running one of the fixture examples provided with the Rasta code. I'm actually trying to run the googlewhack fixture and each example is failing for the following reason

NameError in 'Googlewhack[B6] google_hits() should handle exceptions'
undefined local variable or method `before_example' for #<Test::Unit::TestCase::
Subclass_5:0xbf16e08>

Any guidance or help in resolving this would be greatly appreciated. It's likely something I'm doing wrong, but I'm not sure what that may be.