aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-10-09 14:18:25 +0100
committerLouise Crow <louise.crow@gmail.com>2014-10-09 14:18:25 +0100
commit3a33c84d03fe50ddc477b3a36273b05e9ff5cf79 (patch)
tree8a7dab1c860c1a76f6d5d559a103d738f2a8ba95 /spec
parent74c6bd917e12e5d05611566df42b8adb1b4411b8 (diff)
Remove old PublicBodyCategories calls.
Add deprecation notice to draw attention to any place where PublicBodyCategories is called from themes.
Diffstat (limited to 'spec')
-rw-r--r--spec/models/public_body_category_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/public_body_category_spec.rb b/spec/models/public_body_category_spec.rb
index 189d1654b..2d39a7376 100644
--- a/spec/models/public_body_category_spec.rb
+++ b/spec/models/public_body_category_spec.rb
@@ -15,7 +15,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe PublicBodyCategory do
describe 'when loading the data' do
it 'should use the display_order field to preserve the original data order' do
- PublicBodyCategories.add(:en, [
+ PublicBodyCategory.add(:en, [
"Local and regional",
[ "local_council", "Local councils", "a local council" ],
"Miscellaneous",