aboutsummaryrefslogtreecommitdiffstats
path: root/spec/db
diff options
context:
space:
mode:
Diffstat (limited to 'spec/db')
-rw-r--r--spec/db/schema_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/db/schema_spec.rb b/spec/db/schema_spec.rb
index b2f259abd..74e92bebe 100644
--- a/spec/db/schema_spec.rb
+++ b/spec/db/schema_spec.rb
@@ -16,7 +16,7 @@ RSpec::Matchers.define :use_bigint_keys do
# Primary key
if line =~ /create_table\s/ &&
- !(line =~ /id:\s+(:bigserial|false)/)
+ !(line =~ /id:\s+(?::bigserial|false)/)
expected_line = line.sub(/(create_table\s"\w+",\s)/, '\1id: :bigserial, ')
end