1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix assets test

This commit is contained in:
Sergey Nartimov 2012-01-31 11:52:39 +03:00
parent 920030b3d5
commit 223e5b9c7d

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