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
3acc9186
Commit
3acc9186
authored
Jul 03, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
621f9307
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 @
3acc9186
...
...
@@ -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 @
3acc9186
...
...
@@ -1379,6 +1379,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 @
3acc9186
...
...
@@ -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