Remove video_url attr from Admin::Poll::Question form

This commit is contained in:
Angel Perez
2018-05-18 09:43:43 -04:00
parent 44b1eb929a
commit 4c0deb0eca
3 changed files with 1 additions and 17 deletions

View File

@@ -36,19 +36,16 @@ feature 'Admin poll questions' do
Pursued by the Empire's sinister agents, Princess Leia races home aboard her starship, custodian of the stolen plans that can save her
people and restore freedom to the galaxy....
}
video_url = "https://puppyvideos.com"
visit admin_questions_path
click_link "Create question"
select 'Movies', from: 'poll_question_poll_id'
fill_in 'poll_question_title', with: title
fill_in 'poll_question_video_url', with: video_url
click_button 'Save'
expect(page).to have_content(title)
expect(page).to have_content(video_url)
end
scenario 'Create from successful proposal index' do