ruby on rails - How to force an RSpec test to fail? -
what's proper way force rspec test fail?
i'm considering 1.should == 2
there's better.
fail
trick. pending
useful.
example:
it "should something" pending "this needs implemented" end
what's proper way force rspec test fail?
i'm considering 1.should == 2
there's better.
fail
trick. pending
useful.
example:
it "should something" pending "this needs implemented" end
Comments
Post a Comment