Skip to content

Commit e77f24d

Browse files
committed
Test files update after changing gzip configuration option
1 parent 8820343 commit e77f24d

File tree

3 files changed

+204
-0
lines changed

3 files changed

+204
-0
lines changed

features/cassettes/cucumber_tags/changed-files-after-gzip-config-update.yml

+183
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

features/support/vcr.rb

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
t.tag '@no-new-or-changed-files'
1414
t.tag '@no-new-or-changed-files-gzipped-content'
1515
t.tag '@changed-files-large-site'
16+
t.tag '@changed-files-after-gzip-config-update'
1617
t.tag '@s3-and-cloudfront'
1718
t.tag '@s3-and-cloudfront-when-updating-a-file'
1819
t.tag '@s3-and-cloudfront-after-deleting-a-file'

features/website-performance.feature

+20
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,23 @@ Feature: improve response times of your S3 website website
6969
Done! Go visit: http://s3-website-test.net.s3-website-us-east-1.amazonaws.com/index.html
7070
7171
"""
72+
73+
@changed-files-after-gzip-config-update
74+
Scenario: Upload a blog with unchanged content but gzipping disabled (while S3 objects are gzipped)
75+
When my S3 website is in "features/support/test_site_dirs/my.blog.com"
76+
And I call the push command
77+
Then the output should contain
78+
"""
79+
Deploying features/support/test_site_dirs/my.blog.com/_site/* to s3-website-test.net
80+
Downloading list of the objects in a bucket ... done
81+
Calculating diff ... done
82+
Uploading 2 changed file(s)
83+
"""
84+
And the output should contain
85+
"""
86+
Upload css/styles.css: Success!
87+
"""
88+
And the output should contain
89+
"""
90+
Upload index.html: Success!
91+
"""

0 commit comments

Comments
 (0)