Updates tests

This commit is contained in:
Alberto Garcia Cabeza
2015-10-09 17:05:58 +02:00
parent bbda35b8a3
commit f46a379d6c
2 changed files with 2 additions and 2 deletions

View File

@@ -253,7 +253,7 @@ feature 'Proposals' do
expect(page).not_to have_link('click me')
expect(page.html).to_not include "<script>alert('hey')</script>"
click_link 'Edit'
click_link 'Edit proposal'
expect(current_path).to eq edit_proposal_path(Proposal.last)
expect(page).not_to have_link('click me')