diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-18 08:21:30 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-24 15:07:24 +0100 |
commit | f2b37de54ba3cb0a375fb3a03e7ffd1f18444c39 (patch) | |
tree | f030ef8a6760f981b282630e5edb2aad94a70a93 /spec/controllers | |
parent | 448817c4de965bf7286f33a3447937987a8864a1 (diff) | |
download | gitlab-ce-f2b37de54ba3cb0a375fb3a03e7ffd1f18444c39.tar.gz |
Fix specs.
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/import/bitbucket_controller_spec.rb | 1 | ||||
-rw-r--r-- | spec/controllers/import/github_controller_spec.rb | 1 | ||||
-rw-r--r-- | spec/controllers/import/gitlab_controller_spec.rb | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/spec/controllers/import/bitbucket_controller_spec.rb b/spec/controllers/import/bitbucket_controller_spec.rb index 84e37ae5607..5dd4124061c 100644 --- a/spec/controllers/import/bitbucket_controller_spec.rb +++ b/spec/controllers/import/bitbucket_controller_spec.rb @@ -5,6 +5,7 @@ describe Import::BitbucketController do before do sign_in(user) + controller.stub(:bitbucket_import_enabled?).and_return(true) end describe "GET callback" do diff --git a/spec/controllers/import/github_controller_spec.rb b/spec/controllers/import/github_controller_spec.rb index 3b779855d3f..b8820413406 100644 --- a/spec/controllers/import/github_controller_spec.rb +++ b/spec/controllers/import/github_controller_spec.rb @@ -5,6 +5,7 @@ describe Import::GithubController do before do sign_in(user) + controller.stub(:github_import_enabled?).and_return(true) end describe "GET callback" do 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 |