1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix plugin new --mountable: ActionController instead of ActiveController

This commit is contained in:
Piotr Sarnacki 2010-11-16 16:41:37 +01:00
parent ced8ebcee0
commit 510375b501
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
module <%= camelized %>
class ApplicationController < ActiveController::Base
class ApplicationController < ActionController::Base
end
end

View file

@ -135,7 +135,7 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase
assert_file "config/routes.rb", /Bukkits::Engine.routes.draw do/
assert_file "lib/bukkits/engine.rb", /isolate_namespace Bukkits/
assert_file "test/dummy/config/routes.rb", /mount Bukkits::Engine => "\/bukkits"/
assert_file "app/controllers/bukkits/application_controller.rb", /module Bukkits\n class ApplicationController < ActiveController::Base/
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/
end