Merge pull request #4786 from lest/patch-2

fix assets test in 3-2-stable
This commit is contained in:
José Valim
2012-01-31 03:35:21 -08:00

View File

@@ -64,7 +64,7 @@ module ApplicationTests
files << Dir["#{app_path}/public/assets/foo/application.js"].first
files.each do |file|
assert_not_nil file, "Expected application.js asset to be generated, but none found"
assert_equal "alert()", File.read(file)
assert_equal "alert();", File.read(file)
end
end