diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-03-13 10:36:13 -0600 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-03-28 14:18:09 -0500 |
commit | 1f026738675317a86b19d88900eafe24243b8c8b (patch) | |
tree | 9c1f0500e122b1bcf58832dfc68d1ccc4167db8e /spec/controllers | |
parent | fe5f7390f036234192f4bee7f21f7795a0b992e0 (diff) | |
download | gitlab-ce-1f026738675317a86b19d88900eafe24243b8c8b.tar.gz |
Fix promoting labels and milestones copy text
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/milestones_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/milestones_controller_spec.rb b/spec/controllers/projects/milestones_controller_spec.rb index 5b2614163ff..245ec99e169 100644 --- a/spec/controllers/projects/milestones_controller_spec.rb +++ b/spec/controllers/projects/milestones_controller_spec.rb @@ -107,7 +107,7 @@ describe Projects::MilestonesController do it 'shows group milestone' do post :promote, namespace_id: project.namespace.id, project_id: project.id, id: milestone.iid - expect(flash[:notice]).to eq("#{milestone.title} promoted to group milestone") + expect(flash[:notice]).to eq("#{milestone.title} promoted to <a href=#{group_milestone_path(project.group, milestone.iid)}>group milestone.</a>") expect(response).to redirect_to(project_milestones_path(project)) end end |