diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2015-02-16 15:16:26 +0300 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2015-05-16 22:46:06 +0300 |
commit | ed3298fc019d224b9048901972ac03e5272a3b25 (patch) | |
tree | bbdaea24522778869f106fdfe99f691feb8ccbc7 /spec/requests | |
parent | 35729671fb3a123ddeb7b2b1cda446fd661bd4e6 (diff) |
Allow to configure gitlab_shell_secret location
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/internal_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/internal_spec.rb b/spec/requests/api/internal_spec.rb index 4c7d15d6594..8d0ae1475c2 100644 --- a/spec/requests/api/internal_spec.rb +++ b/spec/requests/api/internal_spec.rb @@ -5,7 +5,7 @@ describe API::API, api: true do let(:user) { create(:user) } let(:key) { create(:key, user: user) } let(:project) { create(:project) } - let(:secret_token) { File.read Rails.root.join('.gitlab_shell_secret') } + let(:secret_token) { File.read Gitlab.config.gitlab_shell.secret_file } describe "GET /internal/check", no_db: true do it do |