diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-01-30 10:47:13 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-01-30 10:47:13 +0000 |
commit | fd042ca3c96dcb454eddfdc423f68e233b2b3bab (patch) | |
tree | 6626d16cb9856fa3d104af86ee6409387883c20e /spec/spec_helper.rb | |
parent | 2d3524808fa36a26f85ae85403d58f7114630c3e (diff) |
Make better wording at the top of the page listing subsets of public bodies. At the same time, cause the tests not to rely on WDTK data. Fixes #396
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 065d9d080..fbc115c38 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -190,3 +190,11 @@ end def parse_all_incoming_messages IncomingMessage.find(:all).each{|x| x.parse_raw_email!} end + +def load_test_categories + PublicBodyCategories.add(:en, [ + "Local and regional", + [ "local_council", "Local councils", "a local council" ], + "Miscellaneous", + [ "other", "Miscellaneous", "miscellaneous" ],]) +end |