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
iv
gitlab-ce
Commits
b4f03e8b
Commit
b4f03e8b
authored
Jun 30, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve description of CI types node and in specs
parent
7ef11ce3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lib/gitlab/ci/config/node/global.rb
lib/gitlab/ci/config/node/global.rb
+1
-1
spec/lib/gitlab/ci/config/node/undefined_spec.rb
spec/lib/gitlab/ci/config/node/undefined_spec.rb
+2
-2
No files found.
lib/gitlab/ci/config/node/global.rb
View file @
b4f03e8b
...
@@ -28,7 +28,7 @@ module Gitlab
...
@@ -28,7 +28,7 @@ module Gitlab
description:
'Configuration of stages for this pipeline.'
description:
'Configuration of stages for this pipeline.'
node
:types
,
Node
::
Stages
,
node
:types
,
Node
::
Stages
,
description:
'
Stages for this pipeline (deprecated key)
.'
description:
'
Deprecated: stages for this pipeline
.'
node
:cache
,
Node
::
Cache
,
node
:cache
,
Node
::
Cache
,
description:
'Configure caching between build jobs.'
description:
'Configure caching between build jobs.'
...
...
spec/lib/gitlab/ci/config/node/undefined_spec.rb
View file @
b4f03e8b
...
@@ -27,13 +27,13 @@ describe Gitlab::Ci::Config::Node::Undefined do
...
@@ -27,13 +27,13 @@ describe Gitlab::Ci::Config::Node::Undefined do
allow
(
entry
).
to
receive
(
:default
).
and_return
(
'some value'
)
allow
(
entry
).
to
receive
(
:default
).
and_return
(
'some value'
)
end
end
it
'returns default value for entry
that is undefined
'
do
it
'returns default value for entry'
do
expect
(
undefined
.
value
).
to
eq
'some value'
expect
(
undefined
.
value
).
to
eq
'some value'
end
end
end
end
describe
'#undefined?'
do
describe
'#undefined?'
do
it
'is not a
concrete entry that is defined
'
do
it
'is not a
defined entry
'
do
expect
(
undefined
.
defined?
).
to
be
false
expect
(
undefined
.
defined?
).
to
be
false
end
end
end
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