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:
authorShinya Maeda <shinya@gitlab.com>2017-08-22 15:42:17 +0300
committerShinya Maeda <shinya@gitlab.com>2017-09-04 15:10:34 +0300
commitfb8f32a92cdfe4cca24cb80a91e8fe48d6b0df25 (patch)
tree5d2d0d089039e1f84b34143d18e20ec39f77c9c5 /lib/api/pipeline_schedules.rb
parent03f72f0f419b7e05fe9207c90b92b02ef7291cd1 (diff)
Finish spec
Diffstat (limited to 'lib/api/pipeline_schedules.rb')
-rw-r--r--lib/api/pipeline_schedules.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/pipeline_schedules.rb b/lib/api/pipeline_schedules.rb
index ffb9a09834d..7a3f74006c6 100644
--- a/lib/api/pipeline_schedules.rb
+++ b/lib/api/pipeline_schedules.rb
@@ -184,7 +184,7 @@ module API
not_found!('Variable') unless variable
status :accepted
- present variable, with: Entities::Variable
+ present variable.destroy, with: Entities::Variable
end
end