diff options
author | Akshay Khole <akshay@reversehack.in> | 2013-05-05 00:54:45 +0530 |
---|---|---|
committer | Akshay Khole <akshay@reversehack.in> | 2013-05-05 00:54:45 +0530 |
commit | b79c1314a92b3b7a85db4594ec109c14a4ad3bc8 (patch) | |
tree | f1ccd658a6127f91253fafbba97af0ed23c31d22 /activerecord | |
parent | 20549051f899c8f85cd3592d1ad6490a951392e2 (diff) | |
download | rails-b79c1314a92b3b7a85db4594ec109c14a4ad3bc8.tar.gz rails-b79c1314a92b3b7a85db4594ec109c14a4ad3bc8.tar.bz2 rails-b79c1314a92b3b7a85db4594ec109c14a4ad3bc8.zip |
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"
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/uuid_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |