diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-07-04 00:58:28 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-07-04 16:56:41 +0300 |
commit | 28553dbc05989b698777ee085aa2a357ffe576d2 (patch) | |
tree | 8005538c73dd33ce949047d201f8d2b55ba2294e /spec/serializers/pipeline_entity_spec.rb | |
parent | 005870d5ce1a00b3405d0ae3a639d0c4befcb7a2 (diff) |
Update tests due to permission changes
Diffstat (limited to 'spec/serializers/pipeline_entity_spec.rb')
-rw-r--r-- | spec/serializers/pipeline_entity_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/pipeline_entity_spec.rb b/spec/serializers/pipeline_entity_spec.rb index 46650f3a80d..46433867b11 100644 --- a/spec/serializers/pipeline_entity_spec.rb +++ b/spec/serializers/pipeline_entity_spec.rb @@ -52,7 +52,7 @@ describe PipelineEntity do context 'user has ability to retry pipeline' do before do - project.team << [user, :developer] + project.add_master(user) end it 'contains retry path' do @@ -80,7 +80,7 @@ describe PipelineEntity do context 'user has ability to cancel pipeline' do before do - project.add_developer(user) + project.add_master(user) end it 'contains cancel path' do |