summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-24 14:43:26 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-24 14:44:17 +0100
commit676678e550d61416c77e7dd6982b2639ada97580 (patch)
tree7f7226a24bb55ed39b60137c791a6393190c1d0c /spec/services
parent989131c530f06fc52e9212df1e3e8d48eae4902f (diff)
downloadgitlab-ce-676678e550d61416c77e7dd6982b2639ada97580.tar.gz
Link to milestone in "Milestone changed" system note
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/system_note_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/system_note_service_spec.rb b/spec/services/system_note_service_spec.rb
index c9f828ae2f7..d3364a71022 100644
--- a/spec/services/system_note_service_spec.rb
+++ b/spec/services/system_note_service_spec.rb
@@ -171,7 +171,7 @@ describe SystemNoteService, services: true do
context 'when milestone added' do
it 'sets the note text' do
- expect(subject.note).to eq "Milestone changed to #{milestone.title}"
+ expect(subject.note).to eq "Milestone changed to #{milestone.to_reference}"
end
end