diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-12-10 19:49:10 -0800 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-12-10 19:49:10 -0800 |
commit | 603e7f7ea507feb3cfea53c42b23be2b32dc240b (patch) | |
tree | 1ca5f6e5894c2cfa27a8c3c5ba453bafb05e4392 /railties/test/generators | |
parent | 8dac9768b16c6cfaffa6c84abaaa7c4926020e0b (diff) | |
parent | baea5d69be52def2a81c31cd119f8dfcd2aa087b (diff) | |
download | rails-603e7f7ea507feb3cfea53c42b23be2b32dc240b.tar.gz rails-603e7f7ea507feb3cfea53c42b23be2b32dc240b.tar.bz2 rails-603e7f7ea507feb3cfea53c42b23be2b32dc240b.zip |
Merge pull request #8468 from schneems/schneems/rack-index-page
Use Rails to Render Default Index Page
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 5ea31f2e0f..b7e366d266 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -55,7 +55,6 @@ class AppGeneratorTest < Rails::Generators::TestCase assert_file "app/views/layouts/application.html.erb", /javascript_include_tag\s+"application"/ assert_file "app/assets/stylesheets/application.css" assert_file "config/application.rb", /config\.assets\.enabled = true/ - assert_file "public/index.html", /url\("assets\/rails.png"\);/ end def test_invalid_application_name_raises_an_error @@ -251,13 +250,6 @@ class AppGeneratorTest < Rails::Generators::TestCase end end - def test_generator_if_skip_index_html_is_given - run_generator [destination_root, '--skip-index-html'] - assert_no_file 'public/index.html' - assert_no_file 'app/assets/images/rails.png' - assert_file 'app/assets/images/.keep' - end - def test_creation_of_a_test_directory run_generator assert_file 'test' |