diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-15 23:49:27 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-15 23:51:45 +0200 |
commit | 9419046196dc1a09716d5b2bbc424b4f89d696ae (patch) | |
tree | b60f088240bfffcda8e3021763a782308e896eed /lib | |
parent | 0aa6061d6ab0ab921ad585329b43b84d20da873e (diff) | |
download | gitlab-ce-9419046196dc1a09716d5b2bbc424b4f89d696ae.tar.gz |
Fix specs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ci/gitlab_ci_yaml_processor.rb | 2 |
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 |