Skip to content

Commit

Permalink
change spacing, add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
William Yardley committed Oct 12, 2016
1 parent 40195e4 commit afbb6a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions spec/defines/resource_location_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
value: 'any',
match: ' satisfy any;'
},
{
title: 'should set expires',
attr: 'expires',
value: '33d',
match: ' expires 33d;'
},
{
title: 'should set location_allow',
attr: 'location_allow',
Expand Down
2 changes: 1 addition & 1 deletion templates/vhost/location_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
satisfy <%= @location_satisfy -%>;
<% end -%>
<% if @expires -%>
expires <%= @expires %>;
expires <%= @expires %>;
<% end -%>
<% if @location_allow -%>
<%- @location_allow.each do |allow_rule| -%>
Expand Down

0 comments on commit afbb6a2

Please sign in to comment.