diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-22 21:42:17 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-04 21:10:34 +0900 |
commit | fb8f32a92cdfe4cca24cb80a91e8fe48d6b0df25 (patch) | |
tree | 5d2d0d089039e1f84b34143d18e20ec39f77c9c5 /lib/api/pipeline_schedules.rb | |
parent | 03f72f0f419b7e05fe9207c90b92b02ef7291cd1 (diff) | |
download | gitlab-ce-fb8f32a92cdfe4cca24cb80a91e8fe48d6b0df25.tar.gz |
Finish spec
Diffstat (limited to 'lib/api/pipeline_schedules.rb')
-rw-r--r-- | lib/api/pipeline_schedules.rb | 2 |
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 |