removes capybara warning messages

This commit is contained in:
Juanjo Bazán
2016-04-25 11:44:33 +02:00
parent 32f971f0ad
commit 91199cda77
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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