diff options
author | Jonathon Reinhart <Jonathon.Reinhart@gmail.com> | 2018-12-31 06:31:35 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2019-04-25 14:54:26 +0300 |
commit | f48605c796bf9098370a258e00fce41f1770ff74 (patch) | |
tree | 8ecd4ec10090264fa9bb9aacb29dab2b21a51839 /spec/models/project_services | |
parent | 8a07d5e60faffcdf090376a1957be8703253e7ce (diff) |
Use all keyword args for DataBuilder::Push.build()
Diffstat (limited to 'spec/models/project_services')
-rw-r--r-- | spec/models/project_services/hipchat_service_spec.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/spec/models/project_services/hipchat_service_spec.rb b/spec/models/project_services/hipchat_service_spec.rb index fd9e33c1781..a04b984c1f6 100644 --- a/spec/models/project_services/hipchat_service_spec.rb +++ b/spec/models/project_services/hipchat_service_spec.rb @@ -98,12 +98,11 @@ describe HipchatService do context 'tag_push events' do let(:push_sample_data) do Gitlab::DataBuilder::Push.build( - project, - user, - Gitlab::Git::BLANK_SHA, - '1' * 40, - 'refs/tags/test', - []) + project: project, + user: user, + oldrev: Gitlab::Git::BLANK_SHA, + newrev: '1' * 40, + ref: 'refs/tags/test') end it "calls Hipchat API for tag push events" do |