sconover / wrong

Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail.
MIT License
434 stars 31 forks source link

Inaccurate rspec dis in the README #22

Closed dchelimsky closed 11 years ago

dchelimsky commented 12 years ago

From the wrong README:

And in what human language is "should greater than" a valid phrase?

It's not in human languages, or RSpec. The correct use of ">" is:

BleuCheese.new.smell.should be > 9000

You may still prefer assert { BleuCheese.new.smell > 9000 }, but at least you're preferring it over the right thing.

FWIW, what's in the wrong README will work, but that's only to support people who don't bother to RTFM: http://rubydoc.info/gems/rspec-expectations#Comparisons

alexch commented 11 years ago

dis disabled in 9afcf18c78b42a6e6436d131f32432176a4d33aa