diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-12-15 12:20:48 +0100 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2010-12-16 01:49:30 +0530 |
commit | ed32c8fe51e347bbccd6cce64b4b8d538c0a61aa (patch) | |
tree | 1007042c96daddac6234f83f394ffeaf26fc7b5e /railties/test/generators | |
parent | 7f77d6691f567b33e23b515ad495071bef8f775e (diff) | |
download | rails-ed32c8fe51e347bbccd6cce64b4b8d538c0a61aa.tar.gz rails-ed32c8fe51e347bbccd6cce64b4b8d538c0a61aa.tar.bz2 rails-ed32c8fe51e347bbccd6cce64b4b8d538c0a61aa.zip |
Generate default layout in engine with --mountable option
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/plugin_new_generator_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/generators/plugin_new_generator_test.rb b/railties/test/generators/plugin_new_generator_test.rb index e146cb2bb3..2a9e8046b8 100644 --- a/railties/test/generators/plugin_new_generator_test.rb +++ b/railties/test/generators/plugin_new_generator_test.rb @@ -166,6 +166,7 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase assert_file "test/dummy/config/routes.rb", /mount Bukkits::Engine => "\/bukkits"/ assert_file "app/controllers/bukkits/application_controller.rb", /module Bukkits\n class ApplicationController < ActionController::Base/ assert_file "app/helpers/bukkits/application_helper.rb", /module Bukkits\n module ApplicationHelper/ + assert_file "app/views/layouts/bukkits/application.html.erb", /<title>Bukkits<\/title>/ end def test_passing_dummy_path_as_a_parameter |