diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-26 21:55:23 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-26 21:55:23 -0700 |
commit | 079b490ad2106e83bf315c7f3e9ac5e1d60c0d0c (patch) | |
tree | 40475050deb720b2fe85d6fac49fb40a9865698a /spec/controllers | |
parent | 02ceea7be8b035b3dc5bdbce40779f3c8c3dc947 (diff) | |
download | gitlab-ce-079b490ad2106e83bf315c7f3e9ac5e1d60c0d0c.tar.gz |
Fix failing specs
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/import/bitbucket_server_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/import/bitbucket_server_controller_spec.rb b/spec/controllers/import/bitbucket_server_controller_spec.rb index 3eac6fdced5..8d0034b2cc2 100644 --- a/spec/controllers/import/bitbucket_server_controller_spec.rb +++ b/spec/controllers/import/bitbucket_server_controller_spec.rb @@ -119,8 +119,8 @@ describe Import::BitbucketServerController do before do allow(controller).to receive(:bitbucket_client).and_return(client) - @repo = double(slug: 'vim', owner: 'asd', full_name: 'asd/vim', "valid?" => true, project_name: 'asd', browse_url: 'http://test', name: 'vim') - @invalid_repo = double(slug: 'invalid', owner: 'foobar', full_name: 'asd/foobar', "valid?" => false, browse_url: 'http://bad-repo') + @repo = double(slug: 'vim', project_key: 'asd', full_name: 'asd/vim', "valid?" => true, project_name: 'asd', browse_url: 'http://test', name: 'vim') + @invalid_repo = double(slug: 'invalid', project_key: 'foobar', full_name: 'asd/foobar', "valid?" => false, browse_url: 'http://bad-repo') assign_session_tokens end |