summaryrefslogtreecommitdiff
path: root/spec/features/atom/issues_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/atom/issues_spec.rb')
-rw-r--r--spec/features/atom/issues_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/atom/issues_spec.rb b/spec/features/atom/issues_spec.rb
index 4102ac0588a..525ce23aa56 100644
--- a/spec/features/atom/issues_spec.rb
+++ b/spec/features/atom/issues_spec.rb
@@ -9,7 +9,7 @@ describe 'Issues Feed' do
let!(:issue) { create(:issue, author: user, assignees: [assignee], project: project) }
before do
- project.team << [user, :developer]
+ project.add_developer(user)
group.add_developer(user)
end