Commit 9a968177 authored by James Lopez's avatar James Lopez

fix failing spec

parent 8793025d
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment