From 0442f2da7ee1325d6b1063ff17002bbe89311b0b Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Sun, 14 May 2023 22:57:01 +0100 Subject: [PATCH] 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. --- spec/system/admin/adjustments_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/admin/adjustments_spec.rb b/spec/system/admin/adjustments_spec.rb index bb94ce013f..f1a181561f 100644 --- a/spec/system/admin/adjustments_spec.rb +++ b/spec/system/admin/adjustments_spec.rb @@ -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