[rspec-users] ArgumentError in "is a pending example" - block not supplied
matt at mattwynne.net
Wed Oct 8 14:15:04 EDT 2008
We have a few unfinished examples in our code of the form
it "should and does do something" do
it "should do something someday"
it "should and does do something else" do
# more stuff
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?
More information about the rspec-users