Commit 952e3d0f authored by Tetiana Chupryna's avatar Tetiana Chupryna

Improve test readability

parent df9bcabf
......@@ -10,7 +10,7 @@ describe Ci::PipelinePresenter do
described_class.new(pipeline)
end
context '#failure_reason' do
describe '.failure_reason' do
context 'when pipeline has failure reason' do
it 'represents a failure reason sentence' do
pipeline.failure_reason = :activity_limit_exceeded
......
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