diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-08 23:04:44 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-08 23:04:44 +0100 |
commit | d54bff2a770c1030056866a47097aee9937390ef (patch) | |
tree | 6cc24d331673c1fa1a63cc6cb811b64e04325236 | |
parent | 1eb7b5ee8d5afeeea74ccbd5627e5a235dffe9fd (diff) | |
download | gitlab-ce-d54bff2a770c1030056866a47097aee9937390ef.tar.gz |
Change test access level from MASTER to DEVELOPER
This should help us detect potential regressions in the future.
-rw-r--r-- | spec/requests/api/builds_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/builds_spec.rb b/spec/requests/api/builds_spec.rb index 1e58e18fad9..b6a1154cf76 100644 --- a/spec/requests/api/builds_spec.rb +++ b/spec/requests/api/builds_spec.rb @@ -6,7 +6,7 @@ describe API::API, api: true do let(:user) { create(:user) } let(:user2) { create(:user) } let!(:project) { create(:project, creator_id: user.id) } - let!(:master) { create(:project_member, user: user, project: project, access_level: ProjectMember::MASTER) } + let!(:developer) { create(:project_member, user: user, project: project, access_level: ProjectMember::DEVELOPER) } let!(:reporter) { create(:project_member, user: user2, project: project, access_level: ProjectMember::REPORTER) } let(:commit) { create(:ci_commit, project: project)} let(:build) { create(:ci_build, commit: commit) } |