[rspec-users] "should_not ==" vs "should !="

David James davidj503 at gmail.com
Fri Jan 18 23:47:17 EST 2008


describe "should_not == vs. should !="
  it do
    5.should_not == 6
  end # passes

  it do
    5.should != 6
  end # fails
end

# I'm running the rspec 1.1.2 gem with the corresponding Textmate bundle
# The second failure surprises me.
# Is != not supported?
# I'd like to hear what you all think.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080118/e36d50ca/attachment.html 


More information about the rspec-users mailing list