[rspec-users] Fixture name not available as class variable in spec
keith at dancingtext.com
Wed Feb 28 10:22:03 EST 2007
I can't seem to access the fixture name as a class variable from my
specs. I have to set the variable in the spec setup.
@my_fixture.id.should == 1
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.id
... [my setup]
RSpec-0.7.5.1 (r1395) - BDD for Ruby
Latest rspec_on_rails plugin
Is this this a bug or a feature ?
More information about the rspec-users