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
48a59c1a
Commit
48a59c1a
authored
Jun 08, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename BeforeScript to Script in new Ci config
parent
5065612a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
lib/gitlab/ci/config/node/global.rb
lib/gitlab/ci/config/node/global.rb
+1
-1
lib/gitlab/ci/config/node/script.rb
lib/gitlab/ci/config/node/script.rb
+1
-1
spec/lib/gitlab/ci/config/node/global_spec.rb
spec/lib/gitlab/ci/config/node/global_spec.rb
+1
-1
spec/lib/gitlab/ci/config/node/script_spec.rb
spec/lib/gitlab/ci/config/node/script_spec.rb
+1
-1
No files found.
lib/gitlab/ci/config/node/global.rb
View file @
48a59c1a
...
...
@@ -3,7 +3,7 @@ module Gitlab
class
Config
module
Node
class
Global
<
Entry
add_node
:before_script
,
Before
Script
add_node
:before_script
,
Script
end
end
end
...
...
lib/gitlab/ci/config/node/
before_
script.rb
→
lib/gitlab/ci/config/node/script.rb
View file @
48a59c1a
...
...
@@ -2,7 +2,7 @@ module Gitlab
module
Ci
class
Config
module
Node
class
Before
Script
<
Entry
class
Script
<
Entry
include
ValidationHelpers
def
description
...
...
spec/lib/gitlab/ci/config/node/global_spec.rb
View file @
48a59c1a
...
...
@@ -31,7 +31,7 @@ describe Gitlab::Ci::Config::Node::Global do
it
'creates node object using valid class'
do
expect
(
global
.
nodes
.
first
)
.
to
be_an_instance_of
Gitlab
::
Ci
::
Config
::
Node
::
Before
Script
.
to
be_an_instance_of
Gitlab
::
Ci
::
Config
::
Node
::
Script
end
end
...
...
spec/lib/gitlab/ci/config/node/
before_
script_spec.rb
→
spec/lib/gitlab/ci/config/node/script_spec.rb
View file @
48a59c1a
require
'spec_helper'
describe
Gitlab
::
Ci
::
Config
::
Node
::
Before
Script
do
describe
Gitlab
::
Ci
::
Config
::
Node
::
Script
do
let
(
:entry
)
{
described_class
.
new
(
value
,
double
)}
before
{
entry
.
validate!
}
...
...
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