Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-26 18:06:50 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-26 18:06:50 +0300
commit68d3f33d5194c446812d09f079749ddf56f95378 (patch)
tree9cb521544bf72e420a2986ca2fba512274a020eb /spec/requests
parent6a4ffad42050949fcf08e78147575734ae99627e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/internal/pages_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/internal/pages_spec.rb b/spec/requests/api/internal/pages_spec.rb
index 03bf748b471..23bbd0681d6 100644
--- a/spec/requests/api/internal/pages_spec.rb
+++ b/spec/requests/api/internal/pages_spec.rb
@@ -4,10 +4,10 @@ require 'spec_helper'
describe API::Internal::Pages do
describe "GET /internal/pages" do
- let(:pages_shared_secret) { SecureRandom.random_bytes(Gitlab::Pages::SECRET_LENGTH) }
+ let(:pages_secret) { SecureRandom.random_bytes(Gitlab::Pages::SECRET_LENGTH) }
before do
- allow(Gitlab::Pages).to receive(:secret).and_return(pages_shared_secret)
+ allow(Gitlab::Pages).to receive(:secret).and_return(pages_secret)
end
def query_host(host, headers = {})