Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
3ef515f3
Commit
3ef515f3
authored
Sep 20, 2016
by
Katarzyna Kobierska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor fields in view
parent
7dfb204e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/ci/lints/_create.html.haml
app/views/ci/lints/_create.html.haml
+3
-3
spec/views/ci/lints/show.html.haml_spec.rb
spec/views/ci/lints/show.html.haml_spec.rb
+1
-1
No files found.
app/views/ci/lints/_create.html.haml
View file @
3ef515f3
...
...
@@ -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
]
...
...
spec/views/ci/lints/show.html.haml_spec.rb
View file @
3ef515f3
...
...
@@ -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 incorrec
t
'
)
expect
(
rendered
).
to
have_content
(
'Error: Undefined error'
)
expect
(
rendered
).
not_to
have_content
(
'Tag list:'
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment