search for: should_be_arbitrary_operator_spec

Displaying 1 result from an estimated 1 matches for "should_be_arbitrary_operator_spec".

2006 Oct 17
0
actual.should != not_expected
...n/spec spec/spec/expectations/helper/ \ -s "should pass when != operator returns true" F 1) Spec::Expectations::ExpectationNotMetError in ''should[_be] <arbitrary operator>: should pass when != operator returns true'' 4 should == 3 ./spec/spec/expectations/helper//should_be_arbitrary_operator_spec.rb:14:in `should pass when != operator returns true'' Finished in 0.000647 seconds 1 specification, 1 failure NOTE that the error reads "4 should == 3". It looks as though ruby is actually delivering the == operator instead of !=. Now if you do this: irb(main):003:0> Object...