I expected 'should !=' to act the same as 'should_not =='. That turned out to be incorrect (by design?):
require 'spec'
require 'spec/rails'
describe "using 'should !='" do
it "seems to treat != as the same as ==" do
1.should != 1 # passes
1.should != 2 # fails
end
end
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
