diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-09-01 11:54:07 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 17:49:11 +0300 |
commit | d8478d166b96b7b40b27b162d6afd170a5c8d763 (patch) | |
tree | 14c50925c81abe01886e23a2583107bacef48b39 /spec/requests/api/commits_spec.rb | |
parent | 5547baa3eb1979e8de36f00174c1f98ddc3dabd0 (diff) |
Fix spec
Diffstat (limited to 'spec/requests/api/commits_spec.rb')
-rw-r--r-- | spec/requests/api/commits_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/commits_spec.rb b/spec/requests/api/commits_spec.rb index d3b48f948f6..edbfaf510c5 100644 --- a/spec/requests/api/commits_spec.rb +++ b/spec/requests/api/commits_spec.rb @@ -565,7 +565,7 @@ describe API::Commits do end context 'when the ref has a pipeline' do - let!(:pipeline) { project.pipelines.create(source: :push, ref: 'master', sha: commit.sha) } + let!(:pipeline) { project.pipelines.create(source: :push, ref: 'master', sha: commit.sha, protected: false) } it 'includes a "created" status' do get api(route, current_user) |