提交 81cf98d3 编写于 作者: S Santiago Pastorino

dragdrop was tested twice and effects.js was missing, added checks for...

dragdrop was tested twice and effects.js was missing, added checks for controls.js, dragdrop.js and effects.js to another test
上级 14b880fd
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册