fixes specs
This commit is contained in:
@@ -94,15 +94,13 @@ feature 'Votes' do
|
||||
visit budget_investments_path(budget, heading_id: heading.id)
|
||||
|
||||
within("#budget_investment_#{investment.id}") do
|
||||
find("div.js-participation").hover
|
||||
expect(page).to have_content 'No Selecting Allowed'
|
||||
expect(page).to_not have_css("budget_investment_#{investment.id}_votes")
|
||||
end
|
||||
|
||||
visit budget_investment_path(budget, investment)
|
||||
|
||||
within("#budget_investment_#{investment.id}") do
|
||||
find("div.js-participation").hover
|
||||
expect(page).to have_content 'No Selecting Allowed'
|
||||
expect(page).to_not have_css("budget_investment_#{investment.id}_votes")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user