diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-04 10:43:25 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-04 10:43:25 +0400 |
commit | dccd8b6eaa8b2e98b0245262a8e39df8fb8ae634 (patch) | |
tree | 541a40fb2e84b24ab0c4ae39fa18b1b720e5d7c2 /features/steps/group | |
parent | 39ba934c0a65f571214998e056e925b61f389360 (diff) |
Continue refactoring. Use repostory and team
Diffstat (limited to 'features/steps/group')
-rw-r--r-- | features/steps/group/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb index e3364f09e34..04d8c874b3e 100644 --- a/features/steps/group/group.rb +++ b/features/steps/group/group.rb @@ -13,7 +13,7 @@ class Groups < Spinach::FeatureSteps @project = create(:project, group: @group) @event = create(:closed_issue_event, project: @project) - @project.add_access current_user, :admin + @project.team << [current_user, :master] end And 'I should see projects activity feed' do |