summaryrefslogtreecommitdiff
path: root/spec/models/note_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-11 03:11:00 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-11 03:11:00 +0000
commitbdca0979165cb662173d959c358fce0c539c7544 (patch)
tree5a2a58ea3738592da1d84a2ed53410deea752a51 /spec/models/note_spec.rb
parent1a3d7fe0b65d92e322bfe33aebe6b64419203f4f (diff)
downloadgitlab-ce-bdca0979165cb662173d959c358fce0c539c7544.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/note_spec.rb')
-rw-r--r--spec/models/note_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb
index e6e6a8c35cf..864f7221181 100644
--- a/spec/models/note_spec.rb
+++ b/spec/models/note_spec.rb
@@ -471,6 +471,7 @@ RSpec.describe Note do
note: "added label #{private_label.to_reference(ext_proj)}",
system: true
end
+
let!(:system_note_metadata) { create(:system_note_metadata, note: note, action: :label) }
it_behaves_like "checks references"