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
148068a8
Commit
148068a8
authored
Mar 17, 2017
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
parent
291bd873
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/github_import/importer_spec.rb
spec/lib/gitlab/github_import/importer_spec.rb
+2
-2
No files found.
spec/lib/gitlab/github_import/importer_spec.rb
View file @
148068a8
...
...
@@ -215,9 +215,9 @@ describe Gitlab::GithubImport::Importer, lib: true do
let
(
:updated_at
)
{
DateTime
.
strptime
(
'2011-01-27T19:01:12Z'
)
}
let
(
:repository
)
{
double
(
id:
1
,
fork:
false
)
}
let
(
:source_sha
)
{
create
(
:commit
,
project:
project
).
id
}
let
(
:source_branch
)
{
double
(
ref:
'branch-merged'
,
repo:
repository
,
sha:
source_sha
)
}
let
(
:source_branch
)
{
double
(
ref:
'branch-merged'
,
repo:
repository
,
sha:
source_sha
,
user:
octocat
)
}
let
(
:target_sha
)
{
create
(
:commit
,
project:
project
,
git_commit:
RepoHelpers
.
another_sample_commit
).
id
}
let
(
:target_branch
)
{
double
(
ref:
'master'
,
repo:
repository
,
sha:
target_sha
)
}
let
(
:target_branch
)
{
double
(
ref:
'master'
,
repo:
repository
,
sha:
target_sha
,
user:
octocat
)
}
let
(
:pull_request
)
do
double
(
number:
1347
,
...
...
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