Hmmm.. I am used to doing this with Test::Unit & Shoulda.. setup do @foo = Bar.new end
context "something" setup do @foo.blah = 123 end should "make me say lol" do # ...etc end end ... But I just tried doing this in RSpec with before :each, and it seems that my @foo ivar is non existant inside the inner context...... Is this the way it's supposed to be? Patrick J. Collins http://collinatorstudios.com _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users