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')