diff options
| author | Teddy Wing | 2017-11-14 15:24:24 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2017-11-14 16:04:51 +0100 | 
| commit | e2016fd20b77b6adef7e7da8a50ea4aa97e43dc3 (patch) | |
| tree | f425985d27036c6c93f79424105a0bf80ce89e3e /spec/db | |
| parent | 081522bbd459742e81ba8733be2198622c92fb87 (diff) | |
| download | chouette-core-e2016fd20b77b6adef7e7da8a50ea4aa97e43dc3.tar.bz2 | |
schema_spec: Don't fail for tables without IDs
Some of our tables don't have IDs. These shouldn't fail on type `bigint`
because they don't exist in the first place.
Refs #4951
Diffstat (limited to 'spec/db')
| -rw-r--r-- | spec/db/schema_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/spec/db/schema_spec.rb b/spec/db/schema_spec.rb index 0e0fe780a..a36d3f926 100644 --- a/spec/db/schema_spec.rb +++ b/spec/db/schema_spec.rb @@ -13,7 +13,7 @@ RSpec::Matchers.define :use_bigint_keys do      File.open(filename, 'r') do |f|        @non_bigint_primary_keys = f          .grep(/create_table /) -        .grep_v(/id: :bigserial/) +        .grep_v(/id: (:bigserial|false)/)        f.rewind | 
