diff options
author | Sasha Gerrand <sasha.gerrand@salmat.com.au> | 2011-10-11 18:48:51 +1100 |
---|---|---|
committer | Sasha Gerrand <sasha.gerrand@salmat.com.au> | 2011-10-11 18:48:51 +1100 |
commit | 84672b0c9d8ff67d5c15c74adc7d02f758b46558 (patch) | |
tree | 3d83da75da633f145cdbf8c0121dc23d5f50525f /railties/test/generators | |
parent | 43c01ef8b1a49ccb85700d8e248fd10742ede014 (diff) | |
download | rails-84672b0c9d8ff67d5c15c74adc7d02f758b46558.tar.gz rails-84672b0c9d8ff67d5c15c74adc7d02f758b46558.tar.bz2 rails-84672b0c9d8ff67d5c15c74adc7d02f758b46558.zip |
Added test to check that the vendor/assets/javascripts directory is created
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 1b48c80042..f951f4f633 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -203,6 +203,11 @@ class AppGeneratorTest < Rails::Generators::TestCase assert_file 'test' end + def test_creation_of_vendor_assets_javascripts_directory + run_generator + assert_file "vendor/assets/javascripts" + end + def test_jquery_is_the_default_javascript_library run_generator assert_file "app/assets/javascripts/application.js" do |contents| |