diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/public_body_category_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/public_body_category_spec.rb b/spec/models/public_body_category_spec.rb index b7ef63ac3..3f6fbe5ec 100644 --- a/spec/models/public_body_category_spec.rb +++ b/spec/models/public_body_category_spec.rb @@ -45,9 +45,9 @@ describe PublicBodyCategory do context "requesting data" do - it 'should call load_categories if categories are not already loaded' do + it 'should migrate categories if categories are not already loaded' do PublicBodyCategory.stub!(:count).and_return(0) - PublicBodyCategory.should_receive(:load_categories) + CategoryAndHeadingMigrator.should_receive(:migrate_categories_and_headings) PublicBodyCategory::get() end |