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
nexedi
gitlab-shell
Commits
cf971ba8
Commit
cf971ba8
authored
Mar 12, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use large repo instead one with prompt
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
5c32dbda
Changes
1
Hide 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 @
cf971ba8
...
@@ -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://
mystery@github.com/user/project
.git'
,
'1'
)
}
let
(
:gl_projects
)
{
build_gitlab_projects
(
'import-project'
,
repo_name
,
'https://
github.com/gitlabhq/gitlabhq
.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://
mystery@github.com/user/project
.git> failed due to timeout."
message
=
"Importing project
#{
repo_name
}
from <https://
github.com/gitlabhq/gitlabhq
.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