[rspec-users] should and != operator
ashley.moran at patchspace.co.uk
Mon Oct 12 17:03:06 EDT 2009
On 12 Oct 2009, at 19:33, Willy Mene wrote:
> it "should fail but passes" do
> .should != 
> 'some string'.should != 'some string'
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...
More information about the rspec-users