aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-17 23:35:51 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-17 23:35:51 -0700
commit7a068384b74813b3ea9a309d237c6ce8e8fde5d6 (patch)
treeb0c39ba5e687c03cef1dfa93356eacb04ede5b8f /spec
parent6e1450a2a646e416aaea003eff19b7703c563bed (diff)
downloadrails-7a068384b74813b3ea9a309d237c6ce8e8fde5d6.tar.gz
rails-7a068384b74813b3ea9a309d237c6ce8e8fde5d6.tar.bz2
rails-7a068384b74813b3ea9a309d237c6ce8e8fde5d6.zip
still faster
Diffstat (limited to 'spec')
-rw-r--r--spec/arel/unit/predicates/binary_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/arel/unit/predicates/binary_spec.rb b/spec/arel/unit/predicates/binary_spec.rb
index 2d6ef5d7e3..e5b30b787d 100644
--- a/spec/arel/unit/predicates/binary_spec.rb
+++ b/spec/arel/unit/predicates/binary_spec.rb
@@ -72,7 +72,7 @@ module Arel
describe 'when an operand is a value' do
it "manufactures an expression with unmodified values" do
ConcreteBinary.new(@attribute1, "asdf").bind(@another_relation). \
- should == ConcreteBinary.new(@another_relation[@attribute1], "asdf")
+ should == ConcreteBinary.new(@attribute1.circle(@another_relation), "asdf".circle(@another_relation))
end
end
end