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 

Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -