diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-25 18:23:37 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-25 18:23:37 -0700 |
commit | a20bd2cbd19120d821e85b929fd57ea75a916c75 (patch) | |
tree | d84e61b01afdd5475cd17bdf8dbf6b51bc34b056 /spec/engines/memory/unit/relations/order_spec.rb | |
parent | edb786204fb45ba2a877ec7a3b26e84119b13377 (diff) | |
download | rails-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.rb | 2 |
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' ]), |