From 1308a8a0ef27ea241301ab0585647761a2ffeb0e Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Tue, 10 Feb 2015 16:03:02 +0200 Subject: [PATCH] GHE: fix --- spec/controllers/import/github_controller_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/controllers/import/github_controller_spec.rb b/spec/controllers/import/github_controller_spec.rb index f80b3884d8..76f61d71fe 100644 --- a/spec/controllers/import/github_controller_spec.rb +++ b/spec/controllers/import/github_controller_spec.rb @@ -11,6 +11,7 @@ describe Import::GithubController do it "updates access token" do token = "asdasd12345" Gitlab::GithubImport::Client.any_instance.stub(:get_token).and_return(token) + Gitlab::GithubImport::Client.any_instance.stub(:github_options).and_return({}) Gitlab.config.omniauth.providers << OpenStruct.new(app_id: "asd123", app_secret: "asd123", name: "github") get :callback