Merge pull request #2697 from javierv/2558-fix_flay_spec_supporting_proposals

Fix flaky spec: Proposals Voting Voting proposals on behalf of someone in show view
This commit is contained in:
Raimond Garcia
2018-07-12 16:04:41 +02:00
committed by GitHub

View File

@@ -159,6 +159,7 @@ feature 'Proposals' do
click_link "Support proposals"
within(".proposals-list") { click_link proposal.title }
expect(page).to have_content proposal.code
within("#proposal_#{proposal.id}_votes") { click_link('Support') }
expect(page).to have_content "1 support"