mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge pull request #4786 from lest/patch-2
fix assets test in 3-2-stable
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user