diff options
author | Joshua Peek <josh@joshpeek.com> | 2012-08-07 14:25:33 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2012-08-07 14:25:33 -0500 |
commit | 635817ec8eace0e301940c9be518beb23f522c23 (patch) | |
tree | 29b6feeb706de3bd698a2df103435ef91e86ad8a /railties/test/application/assets_test.rb | |
parent | d498b5e6baeda404b6d00909c5ae4302cd39783a (diff) | |
download | rails-635817ec8eace0e301940c9be518beb23f522c23.tar.gz rails-635817ec8eace0e301940c9be518beb23f522c23.tar.bz2 rails-635817ec8eace0e301940c9be518beb23f522c23.zip |
Fix invalid asset compile assertions
Logical paths to compile should require an extension
Diffstat (limited to 'railties/test/application/assets_test.rb')
-rw-r--r-- | railties/test/application/assets_test.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index 33a6800e14..6e638ed85f 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -83,9 +83,8 @@ module ApplicationTests images_should_compile = ["a.png", "happyface.png", "happy_face.png", "happy.face.png", "happy-face.png", "happy.happy_face.png", "happy_happy.face.png", - "happy.happy.face.png", "happy", "happy.face", "-happyface", - "-happy.png", "-happy.face.png", "_happyface", "_happy.face.png", - "_happy.png"] + "happy.happy.face.png", "-happy.png", "-happy.face.png", + "_happy.face.png", "_happy.png"] images_should_compile.each do |filename| app_file "app/assets/images/#{filename}", "happy" |