Updates tests
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user