diff options
Diffstat (limited to 'spec/engines/memory/unit/relations/take_spec.rb')
-rw-r--r-- | spec/engines/memory/unit/relations/take_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/engines/memory/unit/relations/take_spec.rb b/spec/engines/memory/unit/relations/take_spec.rb index 16b99872c5..f74f1a74c8 100644 --- a/spec/engines/memory/unit/relations/take_spec.rb +++ b/spec/engines/memory/unit/relations/take_spec.rb @@ -14,7 +14,7 @@ module Arel it 'removes the rows after the first n' do @relation \ .take(2) \ - .let do |relation| + .tap do |relation| relation.call.should == [ Row.new(relation, [1, 'duck']), Row.new(relation, [2, 'duck']), |