Skip to content
Browse files

Fix invalid asset compile assertions

Logical paths to compile should require an extension
  • Loading branch information...
1 parent d498b5e commit 635817ec8eace0e301940c9be518beb23f522c23 @josh josh committed Aug 7, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 railties/test/application/assets_test.rb
5 railties/test/application/assets_test.rb
@@ -83,9 +83,8 @@ def precompile!
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"

0 comments on commit 635817e

Please sign in to comment.
Something went wrong with that request. Please try again.