diff options
Diffstat (limited to 'spec/engines/memory/integration/joins/cross_engine_spec.rb')
-rw-r--r-- | spec/engines/memory/integration/joins/cross_engine_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/engines/memory/integration/joins/cross_engine_spec.rb b/spec/engines/memory/integration/joins/cross_engine_spec.rb index 5dc1a6cb99..091fd2ceda 100644 --- a/spec/engines/memory/integration/joins/cross_engine_spec.rb +++ b/spec/engines/memory/integration/joins/cross_engine_spec.rb @@ -24,7 +24,7 @@ module Arel .join(@photos) \ .on(@users[:id].eq(@photos[:user_id])) \ .project(@users[:name], @photos[:camera_id]) \ - .let do |relation| + .tap do |relation| relation.call.should == [ Row.new(relation, ['bryan', @adapter_returns_integer ? 6 : '6']), Row.new(relation, ['emilio', @adapter_returns_integer ? 42 : '42']) @@ -39,7 +39,7 @@ module Arel .join(@users) \ .on(@users[:id].eq(@photos[:user_id])) \ .project(@users[:name], @photos[:camera_id]) \ - .let do |relation| + .tap do |relation| relation.call.should == [ Row.new(relation, ['bryan', @adapter_returns_integer ? 6 : '6']), Row.new(relation, ['emilio', @adapter_returns_integer ? 42 : '42']) |