Closed dchelimsky closed 11 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.
assert { BleuCheese.new.smell > 9000 }
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
dis disabled in 9afcf18c78b42a6e6436d131f32432176a4d33aa
From the wrong README:
It's not in human languages, or RSpec. The correct use of ">" is:
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