Skip to content

Commit

Permalink
- Changed rspec test for proxy_pass_match to be more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
mat1010 committed Apr 14, 2015
1 parent 7fdafee commit 26b7759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/vhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class { 'apache': }
describe file("#{$vhost_dir}/25-proxy.example.com.conf") do
it { is_expected.to contain '<VirtualHost \*:80>' }
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 "<Proxy \*>" }
Expand Down

0 comments on commit 26b7759

Please sign in to comment.