removes capybara warning messages
This commit is contained in:
@@ -32,7 +32,7 @@ feature 'Commenting debates' do
|
||||
expect(page).to have_content first_child.body
|
||||
expect(page).to have_content second_child.body
|
||||
|
||||
expect(page).to have_link "Go back to #{debate.title}", debate_path(debate)
|
||||
expect(page).to have_link "Go back to #{debate.title}", href: debate_path(debate)
|
||||
end
|
||||
|
||||
scenario 'Collapsable comments', :js do
|
||||
|
||||
@@ -32,7 +32,7 @@ feature 'Commenting proposals' do
|
||||
expect(page).to have_content first_child.body
|
||||
expect(page).to have_content second_child.body
|
||||
|
||||
expect(page).to have_link "Go back to #{proposal.title}", proposal_path(proposal)
|
||||
expect(page).to have_link "Go back to #{proposal.title}", href: proposal_path(proposal)
|
||||
end
|
||||
|
||||
scenario 'Collapsable comments', :js do
|
||||
|
||||
Reference in New Issue
Block a user