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
9a968177
Commit
9a968177
authored
Apr 28, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix failing spec
parent
8793025d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
spec/lib/gitlab/bitbucket_import/client_spec.rb
spec/lib/gitlab/bitbucket_import/client_spec.rb
+4
-5
No files found.
spec/lib/gitlab/bitbucket_import/client_spec.rb
View file @
9a968177
...
@@ -53,11 +53,10 @@ describe Gitlab::BitbucketImport::Client, lib: true do
...
@@ -53,11 +53,10 @@ describe Gitlab::BitbucketImport::Client, lib: true do
it
'calls .from_project with no errors'
do
it
'calls .from_project with no errors'
do
project
=
create
(
:empty_project
)
project
=
create
(
:empty_project
)
project
.
create_or_update_import_data
(
credentials:
project
.
create_or_update_import_data
(
credentials:
{
:user
=>
"git"
,
{
user:
"git"
,
:password
=>
nil
,
password:
nil
,
:bb_session
=>
bb_session:
{
bitbucket_access_token:
"test"
,
{
:bitbucket_access_token
=>
"test"
,
bitbucket_access_token_secret:
"test"
}
})
:bitbucket_access_token_secret
=>
"test"
}
})
project
.
import_url
=
"ssh://git@bitbucket.org/test/test.git"
project
.
import_url
=
"ssh://git@bitbucket.org/test/test.git"
expect
{
described_class
.
from_project
(
project
)
}.
to_not
raise_error
expect
{
described_class
.
from_project
(
project
)
}.
to_not
raise_error
...
...
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