summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-10 10:50:37 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-10 10:50:37 +0100
commit7a94787fc93b5be13388e4e1aeeaf4f8773446c5 (patch)
treefc25e02acecf4bf64090f2d686c8cbc06a4962de
parent9910968f0c3a630b9ac04b9691b4fba51619e2d3 (diff)
downloadgitlab-ce-7a94787fc93b5be13388e4e1aeeaf4f8773446c5.tar.gz
Use `warn` instead of `$stderr.puts` in QA selectors test
-rw-r--r--qa/qa/scenario/test/sanity/selectors.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/scenario/test/sanity/selectors.rb b/qa/qa/scenario/test/sanity/selectors.rb
index 157336be66f..5a8f368f88c 100644
--- a/qa/qa/scenario/test/sanity/selectors.rb
+++ b/qa/qa/scenario/test/sanity/selectors.rb
@@ -15,7 +15,7 @@ module QA
validators.map(&:errors).flatten.tap do |errors|
break if errors.none?
- $stderr.puts <<~EOS
+ warn <<~EOS
GitLab QA sanity selectors validation test detected problems
with your merge request!
@@ -40,7 +40,7 @@ module QA
EOS
- $stderr.puts errors
+ warn errors
end
validators.each(&:validate!)