summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-06-20 17:42:54 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-06-20 17:42:54 +0200
commit218da88e1aa7b0538d069ce9dc6e3a4348c610fc (patch)
treeac31025caa313fd3218afaa50b76cf3c690f4aa9 /spec
parent4f8af50b619dd87c16035f56dce5cbde3531aef1 (diff)
downloadgitlab-ce-218da88e1aa7b0538d069ce9dc6e3a4348c610fc.tar.gz
Enable gitaly token auth when testing
Diffstat (limited to 'spec')
-rw-r--r--spec/tasks/gitlab/gitaly_rake_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/tasks/gitlab/gitaly_rake_spec.rb b/spec/tasks/gitlab/gitaly_rake_spec.rb
index cfa6c9ca8ce..c9a0f1cb144 100644
--- a/spec/tasks/gitlab/gitaly_rake_spec.rb
+++ b/spec/tasks/gitlab/gitaly_rake_spec.rb
@@ -89,6 +89,7 @@ describe 'gitlab:gitaly namespace rake task' do
}
}
allow(Gitlab.config.repositories).to receive(:storages).and_return(config)
+ allow(Rails.env).to receive(:test?).and_return(false)
expected_output = ''
Timecop.freeze do