diff --git a/spec/acceptance/vhost_spec.rb b/spec/acceptance/vhost_spec.rb index 434607531..b5d51e91f 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\s+/foo http://backend-foo/" } + it { is_expected.to contain "ProxyPassMatch /foo http://backend-foo/" } it { is_expected.to contain "ProxyPreserveHost On" } it { is_expected.to contain "ProxyErrorOverride On" } it { is_expected.not_to contain "" }