Hi all. Noticed that with rspec 1.x

methods at "higher levels" aren't available in lower, ex:

context "a" do
 def go
 end

 it "should pass" do
    go
 end

  it "should pass again" do
   context "a::b" do
      go
   end
  end

end

This surprised me a bit, making re-use of outer methods unavailable.
Is it expected?

Thanks!
-r
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to