diff options
| author | Rémy Coutable <remy@rymai.me> | 2017-05-15 07:28:58 +0000 |
|---|---|---|
| committer | Rémy Coutable <remy@rymai.me> | 2017-05-15 07:28:58 +0000 |
| commit | c48554edc24fcdddd4af374ff99f5953a5e672d4 (patch) | |
| tree | 135fcbeb7c385fb174c0747042f2a1a9ce6577b7 /spec/lib | |
| parent | c6d5389283624cfdd04191e8119195b30500e38d (diff) | |
| parent | 47b8516c15415e4111973fbc9a3a2782c1de3ed8 (diff) | |
| download | gitlab-ce-c48554edc24fcdddd4af374ff99f5953a5e672d4.tar.gz | |
Merge branch 'dturner/username' into 'master'
add username field to push webhook
Closes #32136
See merge request !11272
Diffstat (limited to 'spec/lib')
| -rw-r--r-- | spec/lib/gitlab/data_builder/push_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/data_builder/push_spec.rb b/spec/lib/gitlab/data_builder/push_spec.rb index dbcfb9b7400..e59cba35b2f 100644 --- a/spec/lib/gitlab/data_builder/push_spec.rb +++ b/spec/lib/gitlab/data_builder/push_spec.rb @@ -35,6 +35,7 @@ describe Gitlab::DataBuilder::Push, lib: true do it { expect(data[:ref]).to eq('refs/tags/v1.1.0') } it { expect(data[:user_id]).to eq(user.id) } it { expect(data[:user_name]).to eq(user.name) } + it { expect(data[:user_username]).to eq(user.username) } it { expect(data[:user_email]).to eq(user.email) } it { expect(data[:user_avatar]).to eq(user.avatar_url) } it { expect(data[:project_id]).to eq(project.id) } |
