cutest
cutest copied to clipboard
Setup and scopes
Is this the intended behavior?
scope do
setup do
5
end
test do |i|
assert_equal i, 5
end
end
scope do
test do |i|
assert_equal i,5 ##Wooah, I thought i was supposed to be nil, given that this test belongs to a different scope...
end
end