diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-03-06 16:53:22 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-06 16:53:22 -0500 |
commit | de944c914b2a780a5e968cc32ef64cddd2b82c9b (patch) | |
tree | dfef857b364ee0badb2b68ccf6e6a964a7f8df16 /features/steps/project/merge_requests/acceptance.rb | |
parent | 042b047fc87ba4f76178383f9b5738cfbb9eb16c (diff) | |
download | gitlab-ce-de944c914b2a780a5e968cc32ef64cddd2b82c9b.tar.gz |
Add traits for each access_level to ProjectMember factory
Diffstat (limited to 'features/steps/project/merge_requests/acceptance.rb')
-rw-r--r-- | features/steps/project/merge_requests/acceptance.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/merge_requests/acceptance.rb b/features/steps/project/merge_requests/acceptance.rb index 2685f5fd6b4..4fda0731e2f 100644 --- a/features/steps/project/merge_requests/acceptance.rb +++ b/features/steps/project/merge_requests/acceptance.rb @@ -29,7 +29,7 @@ class Spinach::Features::ProjectMergeRequestsAcceptance < Spinach::FeatureSteps step 'There is an open Merge Request' do @user = create(:user) @project = create(:project, :public) - @project_member = create(:project_member, user: @user, project: @project, access_level: ProjectMember::DEVELOPER) + @project_member = create(:project_member, :developer, user: @user, project: @project) @merge_request = create(:merge_request, :with_diffs, :simple, source_project: @project) end |