summaryrefslogtreecommitdiff
path: root/spec/features/discussion_comments/snippets_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/discussion_comments/snippets_spec.rb')
-rw-r--r--spec/features/discussion_comments/snippets_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/discussion_comments/snippets_spec.rb b/spec/features/discussion_comments/snippets_spec.rb
index 4a236c4639b..d330e89505e 100644
--- a/spec/features/discussion_comments/snippets_spec.rb
+++ b/spec/features/discussion_comments/snippets_spec.rb
@@ -6,7 +6,7 @@ describe 'Discussion Comments Snippet', :js do
let(:snippet) { create(:project_snippet, :private, project: project, author: user) }
before do
- project.add_master(user)
+ project.add_maintainer(user)
sign_in(user)
visit project_snippet_path(project, snippet)