diff options
Diffstat (limited to 'spec/engines/memory/unit/relations/join_spec.rb')
-rw-r--r-- | spec/engines/memory/unit/relations/join_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/engines/memory/unit/relations/join_spec.rb b/spec/engines/memory/unit/relations/join_spec.rb index ed5fe89ef0..9a475d817d 100644 --- a/spec/engines/memory/unit/relations/join_spec.rb +++ b/spec/engines/memory/unit/relations/join_spec.rb @@ -17,7 +17,7 @@ module Arel @relation1 \ .join(@relation2) \ .on(@relation1[:id].eq(@relation2[:id])) \ - .let do |relation| + .tap do |relation| relation.call.should == [ Row.new(relation, [1, 'duck', 1, 'duck' ]), Row.new(relation, [2, 'duck', 2, 'duck' ]), |