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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7ec485bd
Commit
7ec485bd
authored
Dec 07, 2018
by
jhampton
Browse files
Options
Browse Files
Download
Plain Diff
Merges incoming changes
parents
7fd0f503
5de224e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
spec/controllers/projects/jobs_controller_spec.rb
spec/controllers/projects/jobs_controller_spec.rb
+2
-2
spec/serializers/trigger_variable_entity_spec.rb
spec/serializers/trigger_variable_entity_spec.rb
+1
-0
No files found.
spec/controllers/projects/jobs_controller_spec.rb
View file @
7ec485bd
...
...
@@ -403,7 +403,7 @@ describe Projects::JobsController, :clean_gitlab_redis_shared_state do
create
(
:ci_pipeline_variable
,
pipeline:
pipeline
,
key: :TRIGGER_KEY_1
,
value:
'TRIGGER_VALUE_1'
)
end
context
'
with variables and
user is a maintainer'
do
context
'user is a maintainer'
do
before
do
project
.
add_maintainer
(
user
)
...
...
@@ -429,7 +429,7 @@ describe Projects::JobsController, :clean_gitlab_redis_shared_state do
end
end
context
'
with variables and
user is not a mantainer'
do
context
'user is not a mantainer'
do
before
do
get_show
(
id:
job
.
id
,
format: :json
)
end
...
...
spec/serializers/trigger_variable_entity_spec.rb
View file @
7ec485bd
...
...
@@ -14,6 +14,7 @@ describe TriggerVariableEntity do
end
it
'exposes the variable key'
do
expect
(
subject
).
to
include
(
:key
)
end
context
'when user has access to the value'
do
...
...
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