diff options
Diffstat (limited to 'spec/algebra/unit/predicates/inequality_spec.rb')
-rw-r--r-- | spec/algebra/unit/predicates/inequality_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/algebra/unit/predicates/inequality_spec.rb b/spec/algebra/unit/predicates/inequality_spec.rb index 557494e2cd..f95b8d120e 100644 --- a/spec/algebra/unit/predicates/inequality_spec.rb +++ b/spec/algebra/unit/predicates/inequality_spec.rb @@ -12,6 +12,12 @@ module Arel @b = Inequality.new(right, left) end + describe 'operator' do + it "should have one" do + @a.operator.should == :"!=" + end + end + describe '==' do it "is equal to itself" do @a.should == @a |