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:
filipefurtad0
2023-05-14 22:57:01 +01:00
parent e7ab839fb3
commit 0442f2da7e

View File

@@ -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