mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Remove duplicate expectations from spec
This commit is contained in:
@@ -315,10 +315,8 @@ feature %q{
|
||||
end
|
||||
|
||||
it "displays all line items when 'All' is selected from distributor filter" do
|
||||
expect(page).to have_selector "tr#li_#{li1.id}"
|
||||
expect(page).to have_selector "tr#li_#{li2.id}"
|
||||
select2_select d1.name, from: "distributor_filter"
|
||||
expect(page).to have_selector "tr#li_#{li1.id}"
|
||||
expect(page).to have_no_selector "tr#li_#{li2.id}"
|
||||
select2_select "All", from: "distributor_filter"
|
||||
expect(page).to have_selector "tr#li_#{li1.id}"
|
||||
|
||||
Reference in New Issue
Block a user