Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-07-18 07:07:00 +0300
committerStan Hu <stanhu@gmail.com>2018-07-18 07:07:00 +0300
commit6a992fb4c52278a515255eabcdaf8a5962983bc3 (patch)
tree120e1c1a6a2e1b3859d7b411d98ee76565fa52ec /spec/controllers
parentbb0603935d33f532d65547161aaf9d1823acaff3 (diff)
Add missing stubbed parameter
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/import/bitbucket_server_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/import/bitbucket_server_controller_spec.rb b/spec/controllers/import/bitbucket_server_controller_spec.rb
index e167b8d4ce5..3eac6fdced5 100644
--- a/spec/controllers/import/bitbucket_server_controller_spec.rb
+++ b/spec/controllers/import/bitbucket_server_controller_spec.rb
@@ -120,7 +120,7 @@ describe Import::BitbucketServerController 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)
+ @invalid_repo = double(slug: 'invalid', owner: 'foobar', full_name: 'asd/foobar', "valid?" => false, browse_url: 'http://bad-repo')
assign_session_tokens
end