summaryrefslogtreecommitdiff
path: root/spec/controllers/import/gitlab_controller_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-18 08:21:30 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-24 15:07:24 +0100
commitf2b37de54ba3cb0a375fb3a03e7ffd1f18444c39 (patch)
treef030ef8a6760f981b282630e5edb2aad94a70a93 /spec/controllers/import/gitlab_controller_spec.rb
parent448817c4de965bf7286f33a3447937987a8864a1 (diff)
downloadgitlab-ce-f2b37de54ba3cb0a375fb3a03e7ffd1f18444c39.tar.gz
Fix specs.
Diffstat (limited to 'spec/controllers/import/gitlab_controller_spec.rb')
-rw-r--r--spec/controllers/import/gitlab_controller_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/import/gitlab_controller_spec.rb b/spec/controllers/import/gitlab_controller_spec.rb
index 287aa315db5..b6b86b1bcee 100644
--- a/spec/controllers/import/gitlab_controller_spec.rb
+++ b/spec/controllers/import/gitlab_controller_spec.rb
@@ -5,6 +5,7 @@ describe Import::GitlabController do
before do
sign_in(user)
+ controller.stub(:gitlab_import_enabled?).and_return(true)
end
describe "GET callback" do