mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Enforce RSpec expect(..).not_to over to_not
This commit is contained in:
@@ -55,7 +55,7 @@ describe '
|
||||
context 'order not updated since latest invoice' do
|
||||
it 'should not render new invoice button' do
|
||||
click_link 'Invoices'
|
||||
expect(page).to_not have_link "Create or Update Invoice"
|
||||
expect(page).not_to have_link "Create or Update Invoice"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user