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