From e9ef02096be859e31c155174fe2784d8a7ba73e3 Mon Sep 17 00:00:00 2001 From: Fatih Acet Date: Thu, 20 Dec 2018 12:14:33 +0100 Subject: Add project milestone link to dashboard milestones One of the steps to deprecate dashboard milestones. Links do dashboard milestone are replaced with links for each project milestone --- spec/controllers/groups/milestones_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/controllers/groups') diff --git a/spec/controllers/groups/milestones_controller_spec.rb b/spec/controllers/groups/milestones_controller_spec.rb index b8e1e08cff7..40d991a669c 100644 --- a/spec/controllers/groups/milestones_controller_spec.rb +++ b/spec/controllers/groups/milestones_controller_spec.rb @@ -64,7 +64,7 @@ describe Groups::MilestonesController do context 'when there is a title parameter' do it 'searches for a legacy group milestone' do - expect(GlobalMilestone).to receive(:build) + expect(GroupMilestone).to receive(:build) expect(Milestone).not_to receive(:find_by_iid) get :show, params: { group_id: group.to_param, id: title, title: milestone1.safe_title } -- cgit v1.2.1