Commit 3225d12e authored by lauraMon's avatar lauraMon

Fixes error message

parent 5770639b
...@@ -23,7 +23,7 @@ module Gitlab ...@@ -23,7 +23,7 @@ module Gitlab
new(nodes).tsort new(nodes).tsort
rescue TSort::Cyclic rescue TSort::Cyclic
raise ValidationError, 'The pipeline has circular dependencies.' raise ValidationError, 'The pipeline has circular dependencies'
rescue MissingNodeError rescue MissingNodeError
end end
......
...@@ -2851,7 +2851,7 @@ module Gitlab ...@@ -2851,7 +2851,7 @@ module Gitlab
YAML YAML
end end
it_behaves_like 'returns errors', 'The pipeline has circular dependencies.' it_behaves_like 'returns errors', 'The pipeline has circular dependencies'
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment