We have a few unfinished examples in our code of the form
it "should and does do something" do
# stuff
end
it "should do something someday"
it "should and does do something else" do
# more stuff
end
Now since I upgraded my gem to rspec 1.8 today, the empty example is
failing with the error ArgumentError in "should do something someday":
block not supplied
Is this by design?
What's the recommended way to deal with these pending examples? write
a block and call pending within it?
cheers,
Matt
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users