提交 7bc8d7b8 编写于 作者: R Rafael Mendonça França

Merge pull request #10464 from arkiver/master

Fix to remove warning in postgres adapter test
......@@ -768,7 +768,7 @@ def exec_no_cache(sql, binds)
end
def exec_cache(sql, binds)
stmt_key = prepare_statement sql
stmt_key = prepare_statement(sql)
# Clear the queue
@connection.get_last_result
......
......@@ -60,7 +60,7 @@ def test_pk_and_sequence_for_uuid_primary_key
def test_schema_dumper_for_uuid_primary_key
schema = StringIO.new
ActiveRecord::SchemaDumper.dump(@connection, schema)
assert_match /\bcreate_table "pg_uuids", id: :uuid\b/, schema.string
assert_match(/\bcreate_table "pg_uuids", id: :uuid\b/, schema.string)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册