features/website-performance.feature in s3_website-1.7.4 vs features/website-performance.feature in s3_website-1.7.5

- old
+ new

@@ -53,5 +53,39 @@ """ And the output should contain """ Upload index.html [gzipped] [max-age=300]: Success! """ + + @no-new-or-changed-files-gzipped-content + Scenario: Try to upload unchanged files with gzip enabled and make sure that the diff is calculated correctly + When my S3 website is in "features/support/test_site_dirs/site.with.gzipped-and-max-aged-content.com" + And I call the push command + Then the output should equal + """ + Deploying features/support/test_site_dirs/site.with.gzipped-and-max-aged-content.com/_site/* to s3-website-test.net + Downloading list of the objects in a bucket ... done + Calculating diff ... done + No new or changed files to upload + Done! Go visit: http://s3-website-test.net.s3-website-us-east-1.amazonaws.com/index.html + + """ + + @changed-files-after-gzip-config-update + Scenario: Upload a blog with unchanged content but gzipping disabled (while S3 objects are gzipped) + When my S3 website is in "features/support/test_site_dirs/my.blog.com" + And I call the push command + Then the output should contain + """ + Deploying features/support/test_site_dirs/my.blog.com/_site/* to s3-website-test.net + Downloading list of the objects in a bucket ... done + Calculating diff ... done + Uploading 2 changed file(s) + """ + And the output should contain + """ + Upload css/styles.css: Success! + """ + And the output should contain + """ + Upload index.html: Success! + """ \ No newline at end of file