@@ -51,7 +51,7 @@ def test_defaults
5151 assert_kind_of Sprockets ::Environment , env
5252
5353 assert_equal ROOT , env . root
54- assert_equal "test-test- -#{ Sprockets ::Rails ::VERSION } " , env . version
54+ assert_equal "test--#{ Sprockets ::Rails ::VERSION } " , env . version
5555 assert env . cache
5656 assert_equal [ ] , env . paths
5757 assert_nil env . js_compressor
@@ -137,7 +137,7 @@ def test_version
137137 app . initialize!
138138
139139 assert env = app . assets
140- assert_equal "test-test- v2-#{ Sprockets ::Rails ::VERSION } " , env . version
140+ assert_equal "test-v2-#{ Sprockets ::Rails ::VERSION } " , env . version
141141 end
142142
143143 def test_version_fragments_with_string_asset_host
@@ -149,7 +149,7 @@ def test_version_fragments_with_string_asset_host
149149 app . initialize!
150150
151151 assert env = app . assets
152- assert_equal "test-test- v2-some-path-http://some-cdn.com-#{ Sprockets ::Rails ::VERSION } " , env . version
152+ assert_equal "test-v2-some-path-http://some-cdn.com-#{ Sprockets ::Rails ::VERSION } " , env . version
153153 end
154154
155155 def test_version_fragments_with_proc_asset_host
@@ -163,7 +163,7 @@ def test_version_fragments_with_proc_asset_host
163163 app . initialize!
164164
165165 assert env = app . assets
166- assert_equal "test-test- v2-some-path-#{ Sprockets ::Rails ::VERSION } " , env . version
166+ assert_equal "test-v2-some-path-#{ Sprockets ::Rails ::VERSION } " , env . version
167167 end
168168
169169 def test_configure
0 commit comments