Displaying 1 result from an estimated 1 matches for "tneq".
Did you mean:
tnef
2008 Oct 09
3
should !=
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