diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-12-08 14:11:52 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-12-08 14:11:52 +0300 |
commit | 07b9b80a8833cf44ba804c9b8dfdf1550785fe83 (patch) | |
tree | 4bb39bfd0ca4c7255dc150b015c272be2e26aa72 /spec/models/cycle_analytics/staging_spec.rb | |
parent | 8384d0d8d528ffdd60c9ba9e3c0c9f688cb560ef (diff) |
Fix tests to use the new API
Diffstat (limited to 'spec/models/cycle_analytics/staging_spec.rb')
-rw-r--r-- | spec/models/cycle_analytics/staging_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/cycle_analytics/staging_spec.rb b/spec/models/cycle_analytics/staging_spec.rb index dad653964b7..27c826110fb 100644 --- a/spec/models/cycle_analytics/staging_spec.rb +++ b/spec/models/cycle_analytics/staging_spec.rb @@ -28,10 +28,10 @@ describe 'CycleAnalytics#staging', feature: true do sha = context.project.repository.commit_file( context.user, context.random_git_name, - "content", - "commit message", - 'master', - false) + 'content', + message: 'commit message', + branch_name: 'master', + update: false) context.project.repository.commit(sha) context.deploy_master |