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
6a2b976c
Commit
6a2b976c
authored
Jan 24, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo
parent
e589c7e8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lib/gitlab/import_export/relation_factory.rb
lib/gitlab/import_export/relation_factory.rb
+1
-1
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
+2
-2
No files found.
lib/gitlab/import_export/relation_factory.rb
View file @
6a2b976c
...
...
@@ -23,7 +23,7 @@ module Gitlab
EXISTING_OBJECT_CHECK
=
%i[milestone milestones label labels project_label project_labels group_label group_labels]
.
freeze
TOKEN_RESET_MODELS
=
%w[Ci::Trigger Ci::Build ProjectHook]
TOKEN_RESET_MODELS
=
%w[Ci::Trigger Ci::Build ProjectHook]
.
freeze
def
self
.
create
(
*
args
)
new
(
*
args
).
create
...
...
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
View file @
6a2b976c
...
...
@@ -203,11 +203,11 @@ describe Gitlab::ImportExport::ProjectTreeRestorer, services: true do
restored_project_json
end
it
'has a new CI trigger
s
token'
do
it
'has a new CI trigger token'
do
expect
(
Ci
::
Trigger
.
where
(
token:
'cdbfasdf44a5958c83654733449e585'
)).
to
be_empty
end
it
'has a new CI
triggers
token'
do
it
'has a new CI
build
token'
do
expect
(
Ci
::
Build
.
where
(
token:
'abcd'
)).
to
be_empty
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