Skip to content

Commit

Permalink
Fixing typos!
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Haskel committed Apr 25, 2014
1 parent a444355 commit 8c504df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/acceptance/apache_parameters_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ class { 'apache':
it 'applies cleanly' do
pp = <<-EOS
class { 'apache':
{ log_formats => {
'vhost_common' => '%v %h %l %u %t \"%r\" %>s %b',
'vhost_combined' => '%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"',
log_formats => {
'vhost_common' => '%v %h %l %u %t \\\"%r\\\" %>s %b',
'vhost_combined' => '%v %h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\"',
}
}
EOS
Expand All @@ -303,7 +303,7 @@ class { 'apache':

describe file($conf_file) do
it { should be_file }
it { should contain 'LogFormat %v %h %l %u %t \"%r\" %>s %b" vhost_common' }
it { should contain 'LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common' }
it { should contain 'LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" vhost_combined' }
end
end
Expand Down

0 comments on commit 8c504df

Please sign in to comment.