aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/unit
diff options
context:
space:
mode:
Diffstat (limited to 'spec/arel/unit')
-rw-r--r--spec/arel/unit/relations/relation_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/arel/unit/relations/relation_spec.rb b/spec/arel/unit/relations/relation_spec.rb
index 46c3ee250d..d6874a1554 100644
--- a/spec/arel/unit/relations/relation_spec.rb
+++ b/spec/arel/unit/relations/relation_spec.rb
@@ -207,7 +207,7 @@ module Arel
describe '#call' do
it 'executes a select_all on the connection' do
- mock(connection = Object.new).select_all(@relation.to_sql)
+ mock(connection = Object.new).execute(@relation.to_sql) { [] }
@relation.call(connection)
end
end