Skip to content

Commit

Permalink
(ref #365) Rewrite for old version
Browse files Browse the repository at this point in the history
  • Loading branch information
htnosm committed Apr 20, 2018
1 parent ed622ab commit 368bc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/awspec/generator/spec/s3_bucket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def generate_lifecycle_rule_specs(lifecycle_rule)
it do
should have_lifecycle_rule(
id: '<%= rule.id %>',
<%- if rule.filter&.prefix -%>
<%- if rule.filter && rule.filter.prefix -%>
filter: { prefix: '<%= rule.filter.prefix %>' },
<%- end -%>
<%- rule.noncurrent_version_expiration.to_h.each do |k, v| -%>
Expand Down

0 comments on commit 368bc72

Please sign in to comment.