updates spec content
This commit is contained in:
@@ -72,13 +72,13 @@ feature 'Debates' do
|
||||
|
||||
visit debate_path(debate)
|
||||
click_link 'Edit'
|
||||
fill_in 'debate_title', with: "Go home Rajoy"
|
||||
fill_in 'debate_title', with: "End child poverty"
|
||||
fill_in 'debate_description', with: "Let's..."
|
||||
|
||||
click_button "Update Debate"
|
||||
|
||||
expect(page).to have_content "Debate was successfully updated."
|
||||
expect(page).to have_content "Go home Rajoy"
|
||||
expect(page).to have_content "End child poverty"
|
||||
expect(page).to have_content "Let's..."
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user