diff --git a/spec/features/taxon_with_properties_spec.rb b/spec/features/taxon_with_properties_spec.rb index bcbe9e9..cf33592 100644 --- a/spec/features/taxon_with_properties_spec.rb +++ b/spec/features/taxon_with_properties_spec.rb @@ -34,6 +34,7 @@ context 'product are paginated' do it 'should ignore pagination' do + products_per_page = Spree::Config.products_per_page Spree::Config.products_per_page = 1 visit "/t/#{taxon.permalink}" @@ -43,6 +44,7 @@ within('.checkbox-label[for="red"]') do page.should have_content("(1)") end + Spree::Config.products_per_page = products_per_page end end end \ No newline at end of file