diff options
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' ]), |