features/website-performance.feature in s3_website-1.6.4 vs features/website-performance.feature in s3_website-1.6.5
- old
+ new
@@ -5,12 +5,12 @@
So that my readers would not have to wait long for my website to load
@new-files
Scenario: Set Cache-Control: max-age for all uploaded files
When my S3 website is in "features/support/test_site_dirs/site.with.maxage.com"
- Then s3_website will push my blog to S3
- And the output should contain
+ And I call the push command
+ Then the output should contain
"""
Upload css/styles.css [max-age=120]: Success!
"""
And the output should contain
"""
@@ -18,12 +18,12 @@
"""
@new-files
Scenario: Set Cache-Control: max-age for CSS files only
When my S3 website is in "features/support/test_site_dirs/site.with.css-maxage.com"
- Then s3_website will push my blog to S3
- And the output should contain
+ And I call the push command
+ Then the output should contain
"""
Upload css/styles.css [max-age=100]: Success!
"""
And the output should contain
"""
@@ -31,12 +31,12 @@
"""
@new-files
Scenario: Set Content-Encoding: gzip HTTP header for HTML files
When my S3 website is in "features/support/test_site_dirs/site.with.gzipped-html.com"
- Then s3_website will push my blog to S3
- And the output should contain
+ And I call the push command
+ Then the output should contain
"""
Upload css/styles.css: Success!
"""
And the output should contain
"""
@@ -44,11 +44,11 @@
"""
@new-files
Scenario: Set both the Content-Encoding: gzip and Cache-Control: max-age headers
When my S3 website is in "features/support/test_site_dirs/site.with.gzipped-and-max-aged-content.com"
- Then s3_website will push my blog to S3
- And the output should contain
+ And I call the push command
+ Then the output should contain
"""
Upload css/styles.css [gzipped] [max-age=300]: Success!
"""
And the output should contain
"""