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
517815f4
Commit
517815f4
authored
Oct 05, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gitlab_ci_yaml_processor specs
parent
29a7c679
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
+3
-0
No files found.
spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
View file @
517815f4
...
@@ -17,6 +17,7 @@ module Ci
...
@@ -17,6 +17,7 @@ module Ci
expect
(
config_processor
.
builds_for_stage_and_ref
(
type
,
"master"
).
size
).
to
eq
(
1
)
expect
(
config_processor
.
builds_for_stage_and_ref
(
type
,
"master"
).
size
).
to
eq
(
1
)
expect
(
config_processor
.
builds_for_stage_and_ref
(
type
,
"master"
).
first
).
to
eq
({
expect
(
config_processor
.
builds_for_stage_and_ref
(
type
,
"master"
).
first
).
to
eq
({
stage:
"test"
,
stage:
"test"
,
stage_idx:
1
,
except:
nil
,
except:
nil
,
name: :rspec
,
name: :rspec
,
only:
nil
,
only:
nil
,
...
@@ -115,6 +116,7 @@ module Ci
...
@@ -115,6 +116,7 @@ module Ci
expect
(
config_processor
.
builds_for_stage_and_ref
(
"test"
,
"master"
).
first
).
to
eq
({
expect
(
config_processor
.
builds_for_stage_and_ref
(
"test"
,
"master"
).
first
).
to
eq
({
except:
nil
,
except:
nil
,
stage:
"test"
,
stage:
"test"
,
stage_idx:
1
,
name: :rspec
,
name: :rspec
,
only:
nil
,
only:
nil
,
commands:
"pwd
\n
rspec"
,
commands:
"pwd
\n
rspec"
,
...
@@ -141,6 +143,7 @@ module Ci
...
@@ -141,6 +143,7 @@ module Ci
expect
(
config_processor
.
builds_for_stage_and_ref
(
"test"
,
"master"
).
first
).
to
eq
({
expect
(
config_processor
.
builds_for_stage_and_ref
(
"test"
,
"master"
).
first
).
to
eq
({
except:
nil
,
except:
nil
,
stage:
"test"
,
stage:
"test"
,
stage_idx:
1
,
name: :rspec
,
name: :rspec
,
only:
nil
,
only:
nil
,
commands:
"pwd
\n
rspec"
,
commands:
"pwd
\n
rspec"
,
...
...
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