Remove video_url attr from Admin::Poll::Question form
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user