Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-05-04 19:17:23 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-05-04 19:17:23 +0300
commit6fbc96bf0e6b5b462970a0946fa6ff07599afdbf (patch)
tree9b38b5851a689d7950a631993018f862c090a89b
parentf5c8edcf1270b2fd6b4bb79c47b53f6b2f3f1dff (diff)
Fix test error
-rw-r--r--lib/api/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index b680c43a269..fe88cec3407 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -92,7 +92,7 @@ module API
def find_project_snippet(id)
finder_params = { filter: :by_project, project: user_project }
- SnippetsFinder.new.execute(current_user, finder_params).find(id)
+ SnippetsFinder.new(current_user, finder_params).execute.find(id)
end
def find_merge_request_with_access(iid, access_level = :read_merge_request)