Permalink
Browse files

Fix plugin new --mountable: ActionController instead of ActiveController

  • Loading branch information...
1 parent ced8ebc commit 510375b501d1a158edf579966a51568d539dcd6e @drogus drogus committed Nov 16, 2010
@@ -1,4 +1,4 @@
module <%= camelized %>
- class ApplicationController < ActiveController::Base
+ class ApplicationController < ActionController::Base
end
end
@@ -135,7 +135,7 @@ def test_create_mountable_application_with_mountable_option
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

0 comments on commit 510375b

Please sign in to comment.