Skip to content
This repository
Browse code

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

…r controls.js, dragdrop.js and effects.js to another test
  • Loading branch information...
commit 81cf98d34268546532aa763b2837b3a4c87e60e1 1 parent 14b880f
Santiago Pastorino authored December 16, 2010
5  railties/test/generators/app_generator_test.rb
@@ -137,7 +137,7 @@ def test_prototype_and_test_unit_are_added_by_default
137 137
     assert_file "public/javascripts/rails.js"
138 138
     assert_file "public/javascripts/controls.js"
139 139
     assert_file "public/javascripts/dragdrop.js"
140  
-    assert_file "public/javascripts/dragdrop.js"
  140
+    assert_file "public/javascripts/effects.js"
141 141
     assert_file "test"
142 142
   end
143 143
 
@@ -154,6 +154,9 @@ def test_config_prototype_javascript_library
154 154
     assert_file "config/application.rb", /#\s+config\.action_view\.javascript_expansions\[:defaults\]\s+=\s+%w\(jquery rails\)/
155 155
     assert_file "public/javascripts/application.js"
156 156
     assert_file "public/javascripts/prototype.js"
  157
+    assert_file "public/javascripts/controls.js"
  158
+    assert_file "public/javascripts/dragdrop.js"
  159
+    assert_file "public/javascripts/effects.js"
157 160
     assert_file "public/javascripts/rails.js", /prototype/
158 161
   end
159 162
 

0 notes on commit 81cf98d

Please sign in to comment.
Something went wrong with that request. Please try again.