From fff099e72ddaeb74287334d5123c54a8bdfe589e Mon Sep 17 00:00:00 2001 From: rgarcia Date: Mon, 14 Sep 2015 21:21:05 +0200 Subject: [PATCH] removes obsolete feature spec --- spec/features/votes_spec.rb | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/spec/features/votes_spec.rb b/spec/features/votes_spec.rb index b112d70f5..b15a39676 100644 --- a/spec/features/votes_spec.rb +++ b/spec/features/votes_spec.rb @@ -155,26 +155,6 @@ feature 'Votes' do expect(page).to have_content "1 vote" end - xscenario 'Create in featured', :js do - pending "logged in user cannot see this page" - visit root_path - - find('.in-favor a').click - - within('.in-favor') do - expect(page).to have_content "100%" - expect(page).to have_css("a.voted") - end - - within('.against') do - expect(page).to have_content "0%" - expect(page).to have_css("a.no-voted") - end - - expect(page).to have_content "1 vote" - expect(current_path).to eq(root_path) - end - scenario 'Create in index', :js do visit debates_path