From b79c1314a92b3b7a85db4594ec109c14a4ad3bc8 Mon Sep 17 00:00:00 2001 From: Akshay Khole <akshay@reversehack.in> Date: Sun, 5 May 2013 00:54:45 +0530 Subject: fix to remove warning on postgres adapter test. Warning was: "/vagrant/rails/activerecord/test/cases/adapters/postgresql/uuid_test.rb:63: warning: ambiguous first argument; put parentheses or even spaces" --- activerecord/test/cases/adapters/postgresql/uuid_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/test/cases/adapters/postgresql/uuid_test.rb b/activerecord/test/cases/adapters/postgresql/uuid_test.rb index 0bd9c864ec..b573d48807 100644 --- a/activerecord/test/cases/adapters/postgresql/uuid_test.rb +++ b/activerecord/test/cases/adapters/postgresql/uuid_test.rb @@ -60,7 +60,7 @@ class PostgresqlUUIDTest < ActiveRecord::TestCase 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 -- cgit v1.2.3