test/controller/fake_controllers.rb in actionpack-1.12.1 vs test/controller/fake_controllers.rb in actionpack-1.12.2
- old
+ new
@@ -4,9 +4,10 @@
end
class NotAController
end
module Admin
class << self; alias_method :const_available?, :const_defined?; end
+ SomeConstant = 10
class UserController < Class.new(ActionController::Base); end
class NewsFeedController < Class.new(ActionController::Base); end
end
ActionController::Routing::Routes.draw do |map|