aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/app_generator_test.rb
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-12-15 12:56:29 +0100
committerVijay Dev <vijaydev.cse@gmail.com>2010-12-16 01:49:30 +0530
commit7f77d6691f567b33e23b515ad495071bef8f775e (patch)
tree88aa842085fd9f4ce8444c4589d2d4e0f297e742 /railties/test/generators/app_generator_test.rb
parent978314c4e1fc6460da887bd850f0df946fe680b7 (diff)
downloadrails-7f77d6691f567b33e23b515ad495071bef8f775e.tar.gz
rails-7f77d6691f567b33e23b515ad495071bef8f775e.tar.bz2
rails-7f77d6691f567b33e23b515ad495071bef8f775e.zip
Fix generation of prototype files, it should work with --javascript prototype, not --prototype
Diffstat (limited to 'railties/test/generators/app_generator_test.rb')
-rw-r--r--railties/test/generators/app_generator_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 7faa674a81..02c49ab241 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -135,6 +135,9 @@ class AppGeneratorTest < Rails::Generators::TestCase
assert_file "public/javascripts/application.js"
assert_file "public/javascripts/prototype.js"
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 "test"
end