Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3270 from kennyj/fix_invalid_regex

(small patch) fix invalid regex in testcase
  • Loading branch information...
commit 8f8fd4f3aacf252aa0330798590988cc5fe39ba7 2 parents a2edc88 + 6d05597
@spastorino spastorino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/application/assets_test.rb
View
2  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"
Please sign in to comment.
Something went wrong with that request. Please try again.