Fix to_not to not_to on rspec expectations

This commit is contained in:
Bertocq
2018-01-17 00:03:23 +01:00
parent 367a960c49
commit a2b950d8de
2 changed files with 3 additions and 3 deletions

View File

@@ -279,7 +279,7 @@ feature 'Admin budgets' do
click_link 'Delete'
end
expect(page).to_not have_content 'District 1'
expect(page).not_to have_content 'District 1'
end
end

View File

@@ -30,8 +30,8 @@ feature 'Valuation budgets' do
visit valuation_budgets_path
expect(page).to_not have_content(budget1.name)
expect(page).to_not have_content(budget2.name)
expect(page).not_to have_content(budget1.name)
expect(page).not_to have_content(budget2.name)
expect(page).to have_content(budget3.name)
end