diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-09-24 17:44:43 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-09-24 17:44:43 +0100 |
commit | fd82802023fec28c0e467c0ba2820489d35ddc9c (patch) | |
tree | 93c4ebb80c547b1837d5479782d418607c89a9f0 /spec/models/public_body_heading_spec.rb | |
parent | 7b7f5dfa21f669b75552e946bedc598174fd71db (diff) |
fixup! Replace existing PublicBodyCategories functionality with db models PublicBodyCategory and PublicBodyHeading
Diffstat (limited to 'spec/models/public_body_heading_spec.rb')
-rw-r--r-- | spec/models/public_body_heading_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/models/public_body_heading_spec.rb b/spec/models/public_body_heading_spec.rb index dd0517072..91fd35be8 100644 --- a/spec/models/public_body_heading_spec.rb +++ b/spec/models/public_body_heading_spec.rb @@ -15,7 +15,11 @@ describe PublicBodyHeading do context 'when loading the data' do before do - load_test_categories + PublicBodyCategories.add(:en, [ + "Local and regional", + [ "local_council", "Local councils", "a local council" ], + "Miscellaneous", + [ "other", "Miscellaneous", "miscellaneous" ],]) end it 'should use the display_order field to preserve the original data order' do |