Remove unnecessary status code related assertion
This commit is contained in:
@@ -634,8 +634,6 @@ feature 'Ballots' do
|
|||||||
within("#budget_investment_#{investment1.id}") do
|
within("#budget_investment_#{investment1.id}") do
|
||||||
expect(page).to have_selector('.in-favor a', visible: true)
|
expect(page).to have_selector('.in-favor a', visible: true)
|
||||||
find('.add a').click
|
find('.add a').click
|
||||||
|
|
||||||
expect(page.status_code).to eq(200)
|
|
||||||
expect(page).not_to have_content "Remove"
|
expect(page).not_to have_content "Remove"
|
||||||
expect(page).to have_selector('.participation-not-allowed', visible: false)
|
expect(page).to have_selector('.participation-not-allowed', visible: false)
|
||||||
find("div.ballot").hover
|
find("div.ballot").hover
|
||||||
|
|||||||
Reference in New Issue
Block a user