Skip to content

Commit

Permalink
Remove spec that is no longer valid
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalcymerys committed Nov 1, 2023
1 parent b8415cd commit c1d8aeb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions spec/features/admin/products/edit/products_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1d8aeb

Please sign in to comment.