Change test access level from MASTER to DEVELOPER

This should help us detect potential regressions in the future.
This commit is contained in:
Tomasz Maczukin 2016-01-08 23:04:44 +01:00
parent 1eb7b5ee8d
commit d54bff2a77

View file

@ -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) }