diff options
author | James Lopez <james@jameslopez.es> | 2016-04-28 11:40:23 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-04-28 11:40:23 +0200 |
commit | 9a9681772c3c8a6523bb94e758655e5c555cea91 (patch) | |
tree | 536804c49a217b62241378a15404ee318a7fcb3e | |
parent | 8793025dd04b7a6c8dd6dd04a52eabbfc612745d (diff) | |
download | gitlab-ce-9a9681772c3c8a6523bb94e758655e5c555cea91.tar.gz |
fix failing specfix/import-url-issues
-rw-r--r-- | spec/lib/gitlab/bitbucket_import/client_spec.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/lib/gitlab/bitbucket_import/client_spec.rb b/spec/lib/gitlab/bitbucket_import/client_spec.rb index cd31894eda6..af839f42421 100644 --- a/spec/lib/gitlab/bitbucket_import/client_spec.rb +++ b/spec/lib/gitlab/bitbucket_import/client_spec.rb @@ -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 |