From 26b77592d86bc3f4fe9cc68277c844b000a8799d Mon Sep 17 00:00:00 2001 From: Matthias Kneer Date: Tue, 14 Apr 2015 14:08:48 +0200 Subject: [PATCH] - Changed rspec test for proxy_pass_match to be more precise --- spec/acceptance/vhost_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acceptance/vhost_spec.rb b/spec/acceptance/vhost_spec.rb index 08594fa22..434607531 100644 --- a/spec/acceptance/vhost_spec.rb +++ b/spec/acceptance/vhost_spec.rb @@ -139,7 +139,7 @@ class { 'apache': } describe file("#{$vhost_dir}/25-proxy.example.com.conf") do it { is_expected.to contain '' } it { is_expected.to contain "ServerName proxy.example.com" } - it { is_expected.to contain "ProxyPassMatch" } + it { is_expected.to contain "ProxyPassMatch\s+/foo http://backend-foo/" } it { is_expected.to contain "ProxyPreserveHost On" } it { is_expected.to contain "ProxyErrorOverride On" } it { is_expected.not_to contain "" }