diff options
Diffstat (limited to 'spec/views/ci/status/_icon.html.haml_spec.rb')
-rw-r--r-- | spec/views/ci/status/_icon.html.haml_spec.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/spec/views/ci/status/_icon.html.haml_spec.rb b/spec/views/ci/status/_icon.html.haml_spec.rb index d0579734451..78b19957cf0 100644 --- a/spec/views/ci/status/_icon.html.haml_spec.rb +++ b/spec/views/ci/status/_icon.html.haml_spec.rb @@ -48,10 +48,12 @@ RSpec.describe 'ci/status/_icon' do context 'status has external target url' do before do - external_job = create(:generic_commit_status, - status: :running, - pipeline: pipeline, - target_url: 'http://gitlab.com') + external_job = create( + :generic_commit_status, + status: :running, + pipeline: pipeline, + target_url: 'http://gitlab.com' + ) render_status(external_job) end |