On 12 Oct 2009, at 19:33, Willy Mene wrote:

it "should fail but passes" do
 [].should != []
 'some string'.should != 'some string'
end


This is a common mistake, and one I made for a long while even after being familiar with RSpec. I wonder if there is justification for an AST pass over spec files to catch this (among possibly other issues)?

Just one of my usual idle thoughts...

Ashley

--
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
http://aviewfromafar.net/







_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to