diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index 134ce6806a06f1a6db195736cd7916d672837422..2dcb74bb9f3a94c3d1f7161b97f04a5fdbf2adfd 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -173,7 +173,7 @@ class User < ActiveRecord::Base; raise 'should not be reached'; end precompile! - assert_file_exists("#{app_path}/public/assets/something/index-*.js") + assert_file_exists("#{app_path}/public/assets/something-*.js") end test "precompile use assets defined in app env config" do