diff options
Diffstat (limited to 'spec/features/incidents/user_views_incident_spec.rb')
-rw-r--r-- | spec/features/incidents/user_views_incident_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/incidents/user_views_incident_spec.rb b/spec/features/incidents/user_views_incident_spec.rb index b94ce3cd06f..244b66f7a9a 100644 --- a/spec/features/incidents/user_views_incident_spec.rb +++ b/spec/features/incidents/user_views_incident_spec.rb @@ -25,7 +25,7 @@ RSpec.describe "User views incident" do it 'shows the merge request and incident actions', :js, :aggregate_failures do click_button 'Incident actions' - expect(page).to have_link('New incident', href: new_project_issue_path(project, { issuable_template: 'incident', issue: { issue_type: 'incident' } })) + expect(page).to have_link('New incident', href: new_project_issue_path(project, { issuable_template: 'incident', issue: { issue_type: 'incident', description: "Related to \##{incident.iid}.\n\n" } })) expect(page).to have_button('Create merge request') expect(page).to have_button('Close incident') end |