summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2015-01-10 20:04:06 -0800
committerValery Sizov <valery@gitlab.com>2015-01-10 20:04:06 -0800
commitee28ee5f13d37c1c430973cdbef34f301b91343a (patch)
tree4f6a0e495eae40e575f884b1d6ca1fb4a0593178 /spec
parenta9f7fd2c1a7052247333b89f6a22a883b480370d (diff)
downloadgitlab-ce-ee28ee5f13d37c1c430973cdbef34f301b91343a.tar.gz
rspec fix
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/github_imports_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/github_imports_controller_spec.rb b/spec/controllers/github_imports_controller_spec.rb
index f1d2df8411a..26e7854fea3 100644
--- a/spec/controllers/github_imports_controller_spec.rb
+++ b/spec/controllers/github_imports_controller_spec.rb
@@ -11,6 +11,7 @@ describe GithubImportsController do
it "updates access token" do
token = "asdasd12345"
Gitlab::Github::Client.any_instance.stub_chain(:client, :auth_code, :get_token, :token).and_return(token)
+ Gitlab.config.omniauth.providers << OpenStruct.new(app_id: "asd123", app_secret: "asd123", name: "github")
get :callback