Remove temporary spec

It's likely to change frequently when there are global changes to the admin screen.
It would be better to test more directly, but I don't think worth it while everythings moving around so much.
This commit is contained in:
David Cook
2024-04-10 15:36:45 +10:00
parent 32b33de707
commit 18d91d166e

View File

@@ -16,15 +16,6 @@ describe 'As an admin, I can manage products', feature: :admin_style_v3 do
expect(page).to have_content "Bulk Edit Products"
end
# TODO: this belongs in a unit or request spec
it "minimises db queries" do
create_products 16
expect{
visit admin_products_url
}.to query_database 243.times # Remember this includes user session updates etc.
end
describe "sorting" do
let!(:product_b) { create(:simple_product, name: "Bananas") }
let!(:product_a) { create(:simple_product, name: "Apples") }