test/test_helper.rb in josevalim-inherited_resources-0.8.1 vs test/test_helper.rb in josevalim-inherited_resources-0.8.2
- old
+ new
@@ -12,14 +12,14 @@
require 'action_controller/test_process'
I18n.load_path << File.join(File.dirname(__FILE__), 'locales', 'en.yml')
I18n.reload!
+class ApplicationController < ActionController::Base; end
+
# Add IR to load path and load the main file
ActiveSupport::Dependencies.load_paths << File.expand_path(File.dirname(__FILE__) + '/../lib')
require_dependency 'inherited_resources'
-
-class ApplicationController < ActionController::Base; end
ActionController::Base.view_paths = File.join(File.dirname(__FILE__), 'views')
ActionController::Routing::Routes.draw do |map|
map.connect ':controller/:action/:id'