updates edit texts on specs
This commit is contained in:
@@ -73,7 +73,7 @@ feature 'Admin polls' do
|
||||
create(:image, imageable: poll)
|
||||
|
||||
visit admin_poll_path(poll)
|
||||
click_link "Edit"
|
||||
click_link "Edit poll"
|
||||
|
||||
end_date = 1.year.from_now
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ feature 'Answers' do
|
||||
|
||||
visit admin_answer_path(answer)
|
||||
|
||||
click_link 'Edit'
|
||||
click_link 'Edit answer'
|
||||
|
||||
old_title = answer.title
|
||||
new_title = 'Ex Machina'
|
||||
|
||||
Reference in New Issue
Block a user