From 293999cabbceab43ca82c5178285d52dfb55cb08 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Fri, 5 Feb 2016 08:22:29 +0100 Subject: Fix name of build erasable, remove superfluous method from it --- lib/api/builds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/api') diff --git a/lib/api/builds.rb b/lib/api/builds.rb index 06ec03fc4e0..9b7a3f12d2b 100644 --- a/lib/api/builds.rb +++ b/lib/api/builds.rb @@ -136,7 +136,7 @@ module API build = get_build(params[:build_id]) return not_found!(build) unless build - return forbidden!('Build is not eraseable!') unless build.eraseable? + return forbidden!('Build is not erasable!') unless build.erasable? build.erase! present build, with: Entities::Build, -- cgit v1.2.1