diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-12-23 15:19:32 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-12-23 15:19:32 +0000 |
commit | 5201da89076bfb38aca1ab09792cc2e789d41850 (patch) | |
tree | eac69aa686642975f0c0b45398f30f64d612435c /spec/models | |
parent | c272afa68983f21ed72ee11d76ce0a07fdf5b36a (diff) |
Update table attribute metadata
Some fields have moved to different models, or exist in translation
tables.
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/public_body_category_link_spec.rb | 9 | ||||
-rw-r--r-- | spec/models/public_body_category_spec.rb | 8 | ||||
-rw-r--r-- | spec/models/public_body_heading_spec.rb | 4 |
3 files changed, 8 insertions, 13 deletions
diff --git a/spec/models/public_body_category_link_spec.rb b/spec/models/public_body_category_link_spec.rb index 8d91f02d5..fd5608480 100644 --- a/spec/models/public_body_category_link_spec.rb +++ b/spec/models/public_body_category_link_spec.rb @@ -1,10 +1,11 @@ # == Schema Information # -# Table name: public_body_category_link +# Table name: public_body_category_links # -# public_body_category_id :integer not null -# public_body_heading_id :integer not null -# category_display_order :integer +# public_body_category_id :integer not null +# public_body_heading_id :integer not null +# category_display_order :integer +# id :integer not null, primary key # require 'spec_helper' diff --git a/spec/models/public_body_category_spec.rb b/spec/models/public_body_category_spec.rb index c185a3169..96fe5686b 100644 --- a/spec/models/public_body_category_spec.rb +++ b/spec/models/public_body_category_spec.rb @@ -2,12 +2,8 @@ # # Table name: public_body_categories # -# id :integer not null, primary key -# locale :string -# title :text not null -# category_tag :text not null -# description :text not null -# display_order :integer +# id :integer not null, primary key +# category_tag :text not null # require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') diff --git a/spec/models/public_body_heading_spec.rb b/spec/models/public_body_heading_spec.rb index add2cac60..9372e0a07 100644 --- a/spec/models/public_body_heading_spec.rb +++ b/spec/models/public_body_heading_spec.rb @@ -2,9 +2,7 @@ # # Table name: public_body_headings # -# id :integer not null, primary key -# locale :string -# name :text not null +# id :integer not null, primary key # display_order :integer # |