Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-04-27 15:13:31 +0300
committerNick Thomas <nick@gitlab.com>2018-04-27 15:13:31 +0300
commitc45b7ab597b5fa2bf48fa0f181e4d58a2c0b3a09 (patch)
tree52d5a4ce18ca42d32195b4edb3c077b159a48d0b /spec/services
parent1b2a94c178efe7c6c0770601c58219dca6ab8bfd (diff)
parentbb650ad05240a54497599b6a884ac0f7f8fa1629 (diff)
Merge branch 'jivl-revert-system-notes-can-be-confusing' into 'master'
Remove comma from the time system notes See merge request gitlab-org/gitlab-ce!18593
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/system_note_service_spec.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/services/system_note_service_spec.rb b/spec/services/system_note_service_spec.rb
index 893804f1470..e28b0ea5cf2 100644
--- a/spec/services/system_note_service_spec.rb
+++ b/spec/services/system_note_service_spec.rb
@@ -909,13 +909,7 @@ describe SystemNoteService do
it 'sets the note text' do
noteable.update_attribute(:time_estimate, 277200)
- expect(subject.note).to eq "changed time estimate to 1w 4d 5h,"
- end
-
- it 'appends a comma to separate the note from the update_at time' do
- noteable.update_attribute(:time_estimate, 277200)
-
- expect(subject.note).to end_with(',')
+ expect(subject.note).to eq "changed time estimate to 1w 4d 5h"
end
end