From 7089d965d5fa95ad6fa1dab312531ce179d2806c Mon Sep 17 00:00:00 2001 From: kikito Date: Sun, 25 Dec 2016 12:57:57 +0100 Subject: [PATCH] Removes unused common actions --- spec/support/common_actions.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/spec/support/common_actions.rb b/spec/support/common_actions.rb index 8eaf5782f..5cd4e748a 100644 --- a/spec/support/common_actions.rb +++ b/spec/support/common_actions.rb @@ -159,11 +159,6 @@ module CommonActions expect(page).to have_selector('.in-favor', visible: false) end - def expect_message_you_need_to_sign_in_to_ballot - expect(page).to have_content 'Not Logged In' - expect(page).to have_selector('.in-favor a', visible: false) - end - def expect_message_you_need_to_sign_in_to_vote_comments expect(page).to have_content 'You must Sign in or Sign up to vote' expect(page).to have_selector('.participation-allowed', visible: false) @@ -180,11 +175,6 @@ module CommonActions expect(page).to have_selector('.in-favor', visible: false) end - def expect_message_only_verified_can_vote_investments - expect(page).to have_content 'Not Verified' - expect(page).to have_selector('.in-favor a', visible: false) - end - def expect_message_voting_not_allowed expect(page).to have_content 'Voting phase is closed' expect(page).to_not have_selector('.in-favor a')