>>> j.even?should be true >> j.even?.should be true
> j.even?.should be_true Not to ignite a flame war, but this is my biggest problem with RSpec: Unless you're an expert at Ruby syntax already, it's really easy to make punctuation mistakes. And of course, it should be j.should be_even (though following Skitt's Law, I probably got that wrong) - A P.S. In Wrong, it's assert { j.even? } -- Alex Chaffee - a...@stinky.com http://alexchaffee.com http://twitter.com/alexch
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users