diff options
author | Sujay Patel <sujaypatel1996@gmail.com> | 2019-06-08 11:54:20 +0530 |
---|---|---|
committer | sujay <sujay.patel@caavo.com> | 2019-06-10 15:35:38 +0530 |
commit | ed8a00b9c41c25af3fcc45892a7d5144d75c6863 (patch) | |
tree | bcbb26cea1d92f0c20b6325831b14e4cd60e662f /spec/lib/gitlab/data_builder | |
parent | 6aa0df5a0f9a71de3e64f8170ebdc1c041a238ff (diff) | |
download | gitlab-ce-ed8a00b9c41c25af3fcc45892a7d5144d75c6863.tar.gz |
Adding labels to note event payload.
Diffstat (limited to 'spec/lib/gitlab/data_builder')
-rw-r--r-- | spec/lib/gitlab/data_builder/note_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/lib/gitlab/data_builder/note_spec.rb b/spec/lib/gitlab/data_builder/note_spec.rb index b236c1a9c49..ed9a1e23529 100644 --- a/spec/lib/gitlab/data_builder/note_spec.rb +++ b/spec/lib/gitlab/data_builder/note_spec.rb @@ -53,6 +53,8 @@ describe Gitlab::DataBuilder::Note do .to eq(issue.reload.hook_attrs.except('updated_at')) expect(data[:issue]['updated_at']) .to be >= issue.hook_attrs['updated_at'] + expect(data[:issue]['labels']) + .to eq(issue.hook_attrs['labels']) end context 'with confidential issue' do |