We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bcb8ae commit 7f64817Copy full SHA for 7f64817
test/test_environment.rb
@@ -726,6 +726,12 @@ def setup
726
refute_equal old_asset_digest, @env["gallery.js"].digest_path
727
end
728
729
+ test "changing version changes the digest_path of the asset when there is no preposessor" do
730
+ old_asset_digest = @env["blank.gif"].digest_path
731
+ @env.version = 'v2'
732
+ refute_equal old_asset_digest, @env["blank.gif"].digest_path
733
+ end
734
+
735
test "changing version changes the etag of the asset" do
736
old_asset_etag = @env["gallery.js"].etag
737
@env.version = 'v2'
0 commit comments