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:
parent
920030b3d5
commit
223e5b9c7d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue