From 97ed5588bd3f1b1243627a38102059b692cfc560 Mon Sep 17 00:00:00 2001 From: Rafal Cymerys Date: Wed, 1 Nov 2023 08:01:02 +0100 Subject: [PATCH] Remove spec that is no longer valid --- spec/features/admin/products/edit/products_spec.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/spec/features/admin/products/edit/products_spec.rb b/spec/features/admin/products/edit/products_spec.rb index dc1a7f5306..de5acc546c 100644 --- a/spec/features/admin/products/edit/products_spec.rb +++ b/spec/features/admin/products/edit/products_spec.rb @@ -46,15 +46,6 @@ click_button 'Update' expect(page).to have_content('successfully updated!') end - - it 'has a link to preview a product' do - allow(Spree::Core::Engine).to receive(:frontend_available?).and_return(true) - - click_link 'Details' - - expect(page).to have_css('#adminPreviewProduct') - expect(page).to have_link Spree.t(:preview_product), href: "http://www.example.com/products/bun-th-t-n-ng" - end end describe 'status related fields behavior' do