aboutsummaryrefslogtreecommitdiffstats
path: root/spec/engines/memory/unit/relations/order_spec.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-25 18:23:37 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-25 18:23:37 -0700
commita20bd2cbd19120d821e85b929fd57ea75a916c75 (patch)
treed84e61b01afdd5475cd17bdf8dbf6b51bc34b056 /spec/engines/memory/unit/relations/order_spec.rb
parentedb786204fb45ba2a877ec7a3b26e84119b13377 (diff)
downloadrails-a20bd2cbd19120d821e85b929fd57ea75a916c75.tar.gz
rails-a20bd2cbd19120d821e85b929fd57ea75a916c75.tar.bz2
rails-a20bd2cbd19120d821e85b929fd57ea75a916c75.zip
replacing "let" with "tap"
Diffstat (limited to 'spec/engines/memory/unit/relations/order_spec.rb')
-rw-r--r--spec/engines/memory/unit/relations/order_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/engines/memory/unit/relations/order_spec.rb b/spec/engines/memory/unit/relations/order_spec.rb
index 9546449bfb..0d746bcd0a 100644
--- a/spec/engines/memory/unit/relations/order_spec.rb
+++ b/spec/engines/memory/unit/relations/order_spec.rb
@@ -14,7 +14,7 @@ module Arel
it 'sorts the relation with the provided ordering' do
@relation \
.order(@relation[:id].desc) \
- .let do |relation|
+ .tap do |relation|
relation.call.should == [
Row.new(relation, [3, 'goose']),
Row.new(relation, [2, 'duck' ]),