diff options
Diffstat (limited to 'spec/engines/sql/unit/relations/where_spec.rb')
-rw-r--r-- | spec/engines/sql/unit/relations/where_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/engines/sql/unit/relations/where_spec.rb b/spec/engines/sql/unit/relations/where_spec.rb index 5f559efad3..69793d63a1 100644 --- a/spec/engines/sql/unit/relations/where_spec.rb +++ b/spec/engines/sql/unit/relations/where_spec.rb @@ -10,7 +10,7 @@ module Arel describe '#to_sql' do describe 'when given a predicate' do it "manufactures sql with where clause conditions" do - sql = Where.new(@relation, @predicate).to_sql + sql = Where.new(@relation, [@predicate]).to_sql adapter_is :mysql do sql.should be_like(%Q{ |