Skip to content

Commit

Permalink
Merge pull request #1101 from cmurphy/fix_access_log_tests
Browse files Browse the repository at this point in the history
Use string instead, not regex, for file test
  • Loading branch information
bmjen committed Apr 14, 2015
2 parents 2858f98 + 3c20633 commit 28a5391
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\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 "<Proxy \*>" }
Expand Down

0 comments on commit 28a5391

Please sign in to comment.