summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-15 23:49:27 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-15 23:51:45 +0200
commit9419046196dc1a09716d5b2bbc424b4f89d696ae (patch)
treeb60f088240bfffcda8e3021763a782308e896eed /lib
parent0aa6061d6ab0ab921ad585329b43b84d20da873e (diff)
downloadgitlab-ce-9419046196dc1a09716d5b2bbc424b4f89d696ae.tar.gz
Fix specs
Diffstat (limited to 'lib')
-rw-r--r--lib/ci/gitlab_ci_yaml_processor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb
index 58be188387f..0da73e387e1 100644
--- a/lib/ci/gitlab_ci_yaml_processor.rb
+++ b/lib/ci/gitlab_ci_yaml_processor.rb
@@ -187,7 +187,7 @@ module Ci
end
if job[:when] && !job[:when].in?(%w(on_success on_failure always))
- raise ValidationError, "#{name}: when should be on_success, on_failure or always"
+ raise ValidationError, "#{name}: when parameter should be on_success, on_failure or always"
end
end