teardowns only work when defined before should statements
Reported by Tammer Saleh | February 15th, 2008 @ 03:37 PM
context "a context" do
should "call teardown" do
blah
end
teardown { puts "hi there" }
end
Does not work, but...
context "a context" do
teardown { puts "hi there" }
should "call teardown" do
blah
end
end
Does.
Comments and changes to this ticket
-
Tammer Saleh February 28th, 2008 @ 04:37 PM
- → State changed from new to resolved
fixed with the latest refactoring
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
