Commit 6a992fb4 authored by Stan Hu's avatar Stan Hu

Add missing stubbed parameter

parent bb060393
...@@ -120,7 +120,7 @@ describe Import::BitbucketServerController do ...@@ -120,7 +120,7 @@ describe Import::BitbucketServerController do
allow(controller).to receive(:bitbucket_client).and_return(client) 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') @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) @invalid_repo = double(slug: 'invalid', owner: 'foobar', full_name: 'asd/foobar', "valid?" => false, browse_url: 'http://bad-repo')
assign_session_tokens assign_session_tokens
end end
......
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