diff --git a/spec/features/proposal_ballots_spec.rb b/spec/features/proposal_ballots_spec.rb index 0303544d1..01ba71bf7 100644 --- a/spec/features/proposal_ballots_spec.rb +++ b/spec/features/proposal_ballots_spec.rb @@ -25,7 +25,6 @@ feature 'Proposal ballots' do successfull_proposals.each do |proposal| within("#proposal_#{proposal.id}_votes") do - expect(page).to_not have_css(".supports") expect(page).to have_content "This proposal has reached the required supports" end end @@ -37,7 +36,6 @@ feature 'Proposal ballots' do successfull_proposals.each do |proposal| visit proposal_path(proposal) within("#proposal_#{proposal.id}_votes") do - expect(page).to_not have_css(".supports") expect(page).to have_content "This proposal has reached the required supports" end end diff --git a/spec/features/proposals_spec.rb b/spec/features/proposals_spec.rb index 0573ea334..b0a1c7d60 100644 --- a/spec/features/proposals_spec.rb +++ b/spec/features/proposals_spec.rb @@ -723,7 +723,6 @@ feature 'Proposals' do within("#proposals-list") do archived_proposals.each do |proposal| within("#proposal_#{proposal.id}_votes") do - expect(page).to_not have_css(".supports") expect(page).to have_content "This proposal has been archived and can't collect supports" end end @@ -734,7 +733,6 @@ feature 'Proposals' do archived_proposal = create(:proposal, :archived) visit proposal_path(archived_proposal) - expect(page).to_not have_css(".supports") expect(page).to have_content "This proposal has been archived and can't collect supports" end