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
Boxiang Sun
gitlab-ce
Commits
17f34e5a
Commit
17f34e5a
authored
Jul 03, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
c99f8e88
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+1
-1
spec/models/ci/build_spec.rb
spec/models/ci/build_spec.rb
+1
-0
spec/models/ci/pipeline_schedule_spec.rb
spec/models/ci/pipeline_schedule_spec.rb
+4
-0
No files found.
spec/lib/gitlab/import_export/all_models.yml
View file @
17f34e5a
...
...
@@ -130,9 +130,9 @@ pipeline_schedules:
-
owner
-
pipelines
-
last_pipeline
-
variables
pipeline_schedule
:
-
pipelines
-
variables
pipeline_schedule_variables
:
-
pipeline_schedule
deploy_keys
:
...
...
spec/models/ci/build_spec.rb
View file @
17f34e5a
...
...
@@ -1383,6 +1383,7 @@ describe Ci::Build, :models do
end
before
do
pipeline_schedule
.
reload
pipeline_schedule
.
pipelines
<<
pipeline
end
...
...
spec/models/ci/pipeline_schedule_spec.rb
View file @
17f34e5a
...
...
@@ -127,6 +127,10 @@ describe Ci::PipelineSchedule, models: true do
subject
{
pipeline_schedule
.
job_variables
}
before
do
pipeline_schedule
.
reload
end
it
{
is_expected
.
to
eq
(
pipeline_schedule_variables
.
map
(
&
:to_runner_variable
))
}
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