[rspec-users] fixture instantiated in before block?
Keith McDonnell
keith at dancingtext.com
Wed Sep 3 05:52:56 EDT 2008
Hi all,
Are fixtures not loaded & instantiated in the before block? I thought
they /should/ be :) eg
before(:all) do
[@matt_applying_for_it, @matt, @it_industry].each { |v| puts v.inspect }
end
it "should ..." do
[@matt_applying_for_it, @matt, @it_industry].each { |v| puts v.inspect }
end
=>
nil
nil
nil
#<Object>
#<Object>
#<Object>
Is this a bug or expected behavior?
Thanks,
Keith
More information about the rspec-users
mailing list