dragdrop was tested twice and effects.js was missing, added checks for controls.js, dragdrop.js and effects.js to another test
This commit is contained in:
parent
14b880fd03
commit
81cf98d342
@ -137,7 +137,7 @@ def test_prototype_and_test_unit_are_added_by_default
|
||||
assert_file "public/javascripts/rails.js"
|
||||
assert_file "public/javascripts/controls.js"
|
||||
assert_file "public/javascripts/dragdrop.js"
|
||||
assert_file "public/javascripts/dragdrop.js"
|
||||
assert_file "public/javascripts/effects.js"
|
||||
assert_file "test"
|
||||
end
|
||||
|
||||
@ -154,6 +154,9 @@ def test_config_prototype_javascript_library
|
||||
assert_file "config/application.rb", /#\s+config\.action_view\.javascript_expansions\[:defaults\]\s+=\s+%w\(jquery rails\)/
|
||||
assert_file "public/javascripts/application.js"
|
||||
assert_file "public/javascripts/prototype.js"
|
||||
assert_file "public/javascripts/controls.js"
|
||||
assert_file "public/javascripts/dragdrop.js"
|
||||
assert_file "public/javascripts/effects.js"
|
||||
assert_file "public/javascripts/rails.js", /prototype/
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user