summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-03-16 18:38:55 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2017-03-16 18:38:55 +0000
commit8a7c822dccfb612c8ae3cb646467c3deac648af8 (patch)
treedab6fdc3a114fc1e5139e65ad3bf56eb8bf0d914 /features
parent19d8f31f7b5a309189ad4684cefd144bc0e79dd2 (diff)
parent75e78f108f850fe6c70c04a13747d2c40a511774 (diff)
downloadgitlab-ce-8a7c822dccfb612c8ae3cb646467c3deac648af8.tar.gz
Merge branch 'pages-multiple-ips-doc' into 'master'
The GitLab Pages external-http and external-https arguments can be specified multiple times See merge request !9812
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/pages.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/project/pages.rb b/features/steps/project/pages.rb
index c80c6273807..4045955a8b9 100644
--- a/features/steps/project/pages.rb
+++ b/features/steps/project/pages.rb
@@ -53,13 +53,13 @@ class Spinach::Features::ProjectPages < Spinach::FeatureSteps
end
step 'pages are exposed on external HTTP address' do
- allow(Gitlab.config.pages).to receive(:external_http).and_return('1.1.1.1:80')
+ allow(Gitlab.config.pages).to receive(:external_http).and_return(['1.1.1.1:80'])
allow(Gitlab.config.pages).to receive(:external_https).and_return(nil)
end
step 'pages are exposed on external HTTPS address' do
- allow(Gitlab.config.pages).to receive(:external_http).and_return('1.1.1.1:80')
- allow(Gitlab.config.pages).to receive(:external_https).and_return('1.1.1.1:443')
+ allow(Gitlab.config.pages).to receive(:external_http).and_return(['1.1.1.1:80'])
+ allow(Gitlab.config.pages).to receive(:external_https).and_return(['1.1.1.1:443'])
end
step 'I should be able to add a New Domain' do