summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-19 13:24:42 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-19 13:24:42 -0200
commit2ece1b774aac36f4a92801c665355e7fe1c4d48f (patch)
treed9397aad0e250f489ba30e8591ec7e9fa5743388 /spec
parentf6e14431a0676708590ddb7cb7567e1f7e97c244 (diff)
downloadgitlab-ce-2ece1b774aac36f4a92801c665355e7fe1c4d48f.tar.gz
Fix creator should be added as a master of the project on creation
Diffstat (limited to 'spec')
-rw-r--r--spec/services/projects/create_service_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/services/projects/create_service_spec.rb b/spec/services/projects/create_service_spec.rb
index 5d0b18558b1..e43903dbd3c 100644
--- a/spec/services/projects/create_service_spec.rb
+++ b/spec/services/projects/create_service_spec.rb
@@ -32,6 +32,7 @@ describe Projects::CreateService, services: true do
it { expect(@project).to be_valid }
it { expect(@project.owner).to eq(@user) }
+ it { expect(@project.team.masters).to include(@user) }
it { expect(@project.namespace).to eq(@user.namespace) }
end