aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/nodes/or_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/arel/nodes/or_spec.rb')
-rw-r--r--spec/arel/nodes/or_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/arel/nodes/or_spec.rb b/spec/arel/nodes/or_spec.rb
index e855b92453..88484ff4f7 100644
--- a/spec/arel/nodes/or_spec.rb
+++ b/spec/arel/nodes/or_spec.rb
@@ -7,12 +7,12 @@ module Arel
left = attr.eq(10)
right = attr.eq(11)
node = left.or right
- check node.left.should == left
- check node.right.should == right
+ check node.expr.left.should == left
+ check node.expr.right.should == right
oror = node.or(right)
- check oror.left == node
- check oror.right == right
+ check oror.expr.left == node
+ check oror.expr.right == right
end
end
end