Skip to content
Snippets Groups Projects
Commit 3ef515f3 authored by Katarzyna Kobierska's avatar Katarzyna Kobierska
Browse files

Refactor fields in view

parent 7dfb204e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -21,13 +21,13 @@
 
%br
%b Tag list:
= build[:tag_list] && build[:tag_list].to_a.join(", ")
= build[:tag_list].to_a.join(", ")
%br
%b Refs only:
= @jobs[build[:name].to_sym][:only] && @jobs[build[:name].to_sym][:only].to_a.join(", ")
= @jobs[build[:name].to_sym][:only].to_a.join(", ")
%br
%b Refs except:
= @jobs[build[:name].to_sym][:except] && @jobs[build[:name].to_sym][:except].to_a.join(", ")
= @jobs[build[:name].to_sym][:except].to_a.join(", ")
%br
%b Environment:
= build[:environment]
Loading
Loading
Loading
Loading
@@ -43,7 +43,7 @@ describe 'ci/lints/show' do
it 'shows error message' do
render
 
expect(rendered).to have_content('Status: syntax is incorrec')
expect(rendered).to have_content('Status: syntax is incorrect')
expect(rendered).to have_content('Error: Undefined error')
expect(rendered).not_to have_content('Tag list:')
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment