Permalink
Browse files

fix invalid regex

  • Loading branch information...
1 parent a2edc88 commit 6d05597d0f03030a429d8154daf99a1226e6cbbd @kennyj kennyj committed Oct 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/assets_test.rb
@@ -291,7 +291,7 @@ class ::PostsController < ActionController::Base ; end
test "precompile should handle utf8 filenames" do
filename = "レイルズ.png"
app_file "app/assets/images/#{filename}", "not a image really"
- add_to_config "config.assets.precompile = [ /\.png$$/, /application.(css|js)$/ ]"
+ add_to_config "config.assets.precompile = [ /\.png$/, /application.(css|js)$/ ]"
precompile!
require "#{app_path}/config/environment"

0 comments on commit 6d05597

Please sign in to comment.