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
790d7cce
Commit
790d7cce
authored
Sep 06, 2016
by
ubudzisz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve code after review
parent
691644dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/builds/_sidebar.html.haml
app/views/projects/builds/_sidebar.html.haml
+1
-1
spec/features/projects/builds_spec.rb
spec/features/projects/builds_spec.rb
+1
-1
No files found.
app/views/projects/builds/_sidebar.html.haml
View file @
790d7cce
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
-
if
@build
.
trigger_request
.
variables
-
if
@build
.
trigger_request
.
variables
%p
%p
.btn.group.btn-group-justified.reveal-variables
Reveal Variables
%button
.btn.group.btn-group-justified.reveal-variables
Reveal Variables
-
@build
.
trigger_request
.
variables
.
each
do
|
key
,
value
|
-
@build
.
trigger_request
.
variables
.
each
do
|
key
,
value
|
...
...
spec/features/projects/builds_spec.rb
View file @
790d7cce
...
@@ -177,7 +177,7 @@ describe "Builds" do
...
@@ -177,7 +177,7 @@ describe "Builds" do
expect
(
page
).
not_to
have_css
(
'.js-build-variable'
)
expect
(
page
).
not_to
have_css
(
'.js-build-variable'
)
expect
(
page
).
not_to
have_css
(
'.js-build-value'
)
expect
(
page
).
not_to
have_css
(
'.js-build-value'
)
find
(
'.reveal-variables'
).
click
click_button
'Reveal Variables'
expect
(
page
).
not_to
have_css
(
'.reveal-variables'
)
expect
(
page
).
not_to
have_css
(
'.reveal-variables'
)
expect
(
page
).
to
have_selector
(
'.js-build-variable'
,
text:
'TRIGGER_KEY_1'
)
expect
(
page
).
to
have_selector
(
'.js-build-variable'
,
text:
'TRIGGER_KEY_1'
)
...
...
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