[rspec-users] should and != operator

Ashley Moran ashley.moran at patchspace.co.uk
Wed Oct 14 04:34:47 EDT 2009

On 14 Oct 2009, at 02:25, Stephen Eley wrote:

> The AST pass over the spec files already exists.  It's what Ruby does
> when you run the specs, and these quirks are caught when your specs
> pass and you haven't done anything to make them pass yet.  >8->

Really?  I just tried `1.should != 2' and got no warnings.

> (You _do_ always start with failing specs, and then do the work to
> make them pass, right?)

Only when I care if the code does something useful =)



More information about the rspec-users mailing list