aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/unit/relations/array_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/arel/unit/relations/array_spec.rb')
-rw-r--r--spec/arel/unit/relations/array_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/arel/unit/relations/array_spec.rb b/spec/arel/unit/relations/array_spec.rb
index 1330f0f205..c90843cd7d 100644
--- a/spec/arel/unit/relations/array_spec.rb
+++ b/spec/arel/unit/relations/array_spec.rb
@@ -22,6 +22,13 @@ module Arel
{ @relation[:id] => 3 }
]
end
+
+ it '' do
+ @relation.where(@relation[:id].lt(3)).call.should == [
+ { @relation[:id] => 1 },
+ { @relation[:id] => 2 }
+ ]
+ end
end
end
end \ No newline at end of file