From 3a33c84d03fe50ddc477b3a36273b05e9ff5cf79 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 9 Oct 2014 14:18:25 +0100 Subject: Remove old PublicBodyCategories calls. Add deprecation notice to draw attention to any place where PublicBodyCategories is called from themes. --- spec/models/public_body_category_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/models') 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", -- cgit v1.2.3