Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
Kazuhiko Shiozaki
gitlab-shell
Commits
5c32dbda
Commit
5c32dbda
authored
Mar 12, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change seed repo
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
2e484585
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/gitlab_projects_spec.rb
spec/gitlab_projects_spec.rb
+2
-2
No files found.
spec/gitlab_projects_spec.rb
View file @
5c32dbda
...
@@ -214,7 +214,7 @@ describe GitlabProjects do
...
@@ -214,7 +214,7 @@ describe GitlabProjects do
end
end
context
'timeout'
do
context
'timeout'
do
let
(
:gl_projects
)
{
build_gitlab_projects
(
'import-project'
,
repo_name
,
'https://
dev.gitlab.org/samples/private
.git'
,
'1'
)
}
let
(
:gl_projects
)
{
build_gitlab_projects
(
'import-project'
,
repo_name
,
'https://
mystery@github.com/user/project
.git'
,
'1'
)
}
it
{
gl_projects
.
exec
.
should
be_false
}
it
{
gl_projects
.
exec
.
should
be_false
}
...
@@ -224,7 +224,7 @@ describe GitlabProjects do
...
@@ -224,7 +224,7 @@ describe GitlabProjects do
end
end
it
"should log an import-project event"
do
it
"should log an import-project event"
do
message
=
"Importing project
#{
repo_name
}
from <https://
dev.gitlab.org/samples/private
.git> failed due to timeout."
message
=
"Importing project
#{
repo_name
}
from <https://
mystery@github.com/user/project
.git> failed due to timeout."
$logger
.
should_receive
(
:error
).
with
(
message
)
$logger
.
should_receive
(
:error
).
with
(
message
)
gl_projects
.
exec
gl_projects
.
exec
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