diff --git a/spec/features/admin/bulk_product_update_spec.rb b/spec/features/admin/bulk_product_update_spec.rb index 9141eb2783..41025a0666 100644 --- a/spec/features/admin/bulk_product_update_spec.rb +++ b/spec/features/admin/bulk_product_update_spec.rb @@ -442,7 +442,7 @@ feature %q{ let(:d2) { create(:distributor_enterprise, name: 'Another Distributor') } let!(:product_supplied) { create(:product, supplier: s1, price: 10.0, on_hand: 6) } let!(:product_not_supplied) { create(:product, supplier: s3) } - let!(:product_supplied_inactive) { create(:product, supplier: s1, price: 10.0, on_hand: 6, available_on: 1.week.from_now) } + let(:product_supplied_inactive) { create(:product, supplier: s1, price: 10.0, on_hand: 6, available_on: 1.week.from_now) } before(:each) do @enterprise_user = create_enterprise_user @@ -468,6 +468,8 @@ feature %q{ end it "shows inactive products that I supply" do + product_supplied_inactive + visit '/admin/products/bulk_edit' page.should have_field 'product_name', with: product_supplied_inactive.name