diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-04-29 17:43:56 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-04-29 17:43:56 +0300 |
commit | f832b96ad7f36d3f8b0ed7cb8776ff301410af8e (patch) | |
tree | 417a6ff88c81c0c6e4f6898a2ed98249c3e09a85 /spec/models/project_services | |
parent | 17e8e8d3f43dda6114523a1fd15096cae3bd71d4 (diff) | |
parent | f48605c796bf9098370a258e00fce41f1770ff74 (diff) |
Merge branch 'use-keyword-args-for-databuilder-push' into 'master'
Use keyword args for databuilder push
See merge request gitlab-org/gitlab-ce!24088
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 |