aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/postgresql/uuid_test.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-01-18 22:45:44 +0100
committerXavier Noria <fxn@hashref.com>2015-01-18 22:45:44 +0100
commit9caeded9c62bf2c462a60a1a0b1a58249d4bd6ac (patch)
tree2345a11a952cde006b04b069dea6fcc3826f3bbf /activerecord/test/cases/adapters/postgresql/uuid_test.rb
parentea721d7027c16f64c47395546c67858060a273e3 (diff)
parentbd78cc8833e7e7ee5f0812325d6451eed567ce62 (diff)
downloadrails-9caeded9c62bf2c462a60a1a0b1a58249d4bd6ac.tar.gz
rails-9caeded9c62bf2c462a60a1a0b1a58249d4bd6ac.tar.bz2
rails-9caeded9c62bf2c462a60a1a0b1a58249d4bd6ac.zip
Merge pull request #18586 from kamipo/should_escape_regexp_wildcard_character
Should escape regexp wildcard character `.`
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql/uuid_test.rb')
-rw-r--r--activerecord/test/cases/adapters/postgresql/uuid_test.rb2
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 7d2fae69d5..d328f17a3f 100644
--- a/activerecord/test/cases/adapters/postgresql/uuid_test.rb
+++ b/activerecord/test/cases/adapters/postgresql/uuid_test.rb
@@ -114,7 +114,7 @@ class PostgresqlUUIDTest < ActiveRecord::TestCase
def test_schema_dump_with_shorthand
output = dump_table_schema "uuid_data_type"
- assert_match %r{t.uuid "guid"}, output
+ assert_match %r{t\.uuid "guid"}, output
end
def test_uniqueness_validation_ignores_uuid