mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fixes spec warning
An example was being ignored due to legacy syntax - WARNING: ignoring the provided expectation message argument since it is not a string or a proc.
This commit is contained in:
@@ -165,8 +165,8 @@ describe '
|
||||
it "displays adjustments" do
|
||||
click_link 'Adjustments'
|
||||
|
||||
expect(page).to_not have_selector('tr a.icon-edit')
|
||||
expect(page).to_not have_selector('a.icon-plus'), text: 'New Adjustment'
|
||||
expect(page).to_not have_selector 'tr a.icon-edit'
|
||||
expect(page).to_not have_selector 'a.icon-plus', text: 'New Adjustment'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user