aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-09-26 13:29:56 +0100
committerLouise Crow <louise.crow@gmail.com>2014-09-26 13:38:00 +0100
commit2300a597f2836ef69211b40cb04779d2c573ce00 (patch)
tree1054252fe9f46170c403c323cf519e9d91622612 /spec/models
parentadf92e9b6e5d3f1ab6a08cf72c15362a4fd6af2b (diff)
Don't migrate categories automatically.
It becomes confusing in the test environment, better to have a clean script.
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/public_body_category_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/models/public_body_category_spec.rb b/spec/models/public_body_category_spec.rb
index f27c4838b..189d1654b 100644
--- a/spec/models/public_body_category_spec.rb
+++ b/spec/models/public_body_category_spec.rb
@@ -43,16 +43,6 @@ describe PublicBodyCategory do
end
end
- context "requesting data" do
-
- it 'should migrate categories if categories are not already loaded' do
- PublicBodyCategory.stub!(:count).and_return(0)
- CategoryAndHeadingMigrator.should_receive(:migrate_categories_and_headings)
- PublicBodyCategory::get()
- end
-
- end
-
context 'when validating' do
it 'should require a title' do