summaryrefslogtreecommitdiff
path: root/spec/features/projects/tags/download_buttons_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/tags/download_buttons_spec.rb')
-rw-r--r--spec/features/projects/tags/download_buttons_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/tags/download_buttons_spec.rb b/spec/features/projects/tags/download_buttons_spec.rb
index d38a5b1324b..b62498194c4 100644
--- a/spec/features/projects/tags/download_buttons_spec.rb
+++ b/spec/features/projects/tags/download_buttons_spec.rb
@@ -24,7 +24,7 @@ feature 'Download buttons in tags page' do
background do
sign_in(user)
- project.team << [user, role]
+ project.add_role(user, role)
end
describe 'when checking tags' do