diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-26 14:52:17 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-26 14:52:17 +0300 |
commit | 0a2a34a4d18d0489f7db6aad5b5518b503692b5b (patch) | |
tree | f169695667def43200565907636fae145469385d /features/steps/group | |
parent | 65b9768ccfbdc3de682d66430601cf3af1b2a2f8 (diff) | |
download | gitlab-ce-0a2a34a4d18d0489f7db6aad5b5518b503692b5b.tar.gz |
Ignore owner_id for Group in tests
Diffstat (limited to 'features/steps/group')
-rw-r--r-- | features/steps/group/group.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb index 71f29121179..99ec77a7613 100644 --- a/features/steps/group/group.rb +++ b/features/steps/group/group.rb @@ -10,7 +10,8 @@ class Groups < Spinach::FeatureSteps end And 'I have group with projects' do - @group = create(:group, owner: current_user) + @group = create(:group) + @group.add_owner(current_user) @project = create(:project, namespace: @group) @event = create(:closed_issue_event, project: @project) |