summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-01-26 11:52:58 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-02-03 09:43:04 +0000
commitc5f5ce8807bf7cbf81b43d0caf1df089d39b880e (patch)
tree12c2be91ea0361ee4b6846a805f12a5223e67890 /lib
parent5b0f492b0de31e7f608527a85da9e28f9f92276f (diff)
downloadgitlab-ce-c5f5ce8807bf7cbf81b43d0caf1df089d39b880e.tar.gz
Fix broken tests17662-rename-builds
Rename Build to Job Replace "Builds" by "Jobs" and fix broken specs Replace "Builds" by "Jobs" Fix broken spinach test Fix broken test Remove `˙` at the beginning of the file Fix broken spinach test Fix broken tests Changes after review
Diffstat (limited to 'lib')
-rw-r--r--lib/api/builds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/builds.rb b/lib/api/builds.rb
index af61be343be..44fe0fc4a95 100644
--- a/lib/api/builds.rb
+++ b/lib/api/builds.rb
@@ -209,7 +209,7 @@ module API
build = get_build!(params[:build_id])
- bad_request!("Unplayable Build") unless build.playable?
+ bad_request!("Unplayable Job") unless build.playable?
build.play(current_user)