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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
it
'calls .from_project with no errors'
do
project
=
create
(
:empty_project
)
project
.
create_or_update_import_data
(
credentials:
{
:user
=>
"git"
,
:password
=>
nil
,
:bb_session
=>
{
:bitbucket_access_token
=>
"test"
,
:bitbucket_access_token_secret
=>
"test"
}
})
{
user:
"git"
,
password:
nil
,
bb_session:
{
bitbucket_access_token:
"test"
,
bitbucket_access_token_secret:
"test"
}
})
project
.
import_url
=
"ssh://git@bitbucket.org/test/test.git"
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