diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-12-15 12:20:48 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-12-15 13:04:11 +0100 |
commit | 232e37952d90a115273c798b8208c1c563a2c9d4 (patch) | |
tree | 126fa85cc07ad03323363374304426d4afe5d162 /railties/test/generators | |
parent | 779a60dee553bda9a5238ac658d68f5022cf9810 (diff) | |
download | rails-232e37952d90a115273c798b8208c1c563a2c9d4.tar.gz rails-232e37952d90a115273c798b8208c1c563a2c9d4.tar.bz2 rails-232e37952d90a115273c798b8208c1c563a2c9d4.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 |