test/test_helper.rb in josevalim-inherited_resources-0.1.2 vs test/test_helper.rb in josevalim-inherited_resources-0.2.0
- old
+ new
@@ -24,16 +24,9 @@
# Define ApplicationController
class ApplicationController < ActionController::Base; end
# Load InheritedResources::Base after defining ApplicationController
-require File.dirname(__FILE__) + '/../lib/inherited_resources/base_helpers.rb'
-require File.dirname(__FILE__) + '/../lib/inherited_resources/belongs_to.rb'
-require File.dirname(__FILE__) + '/../lib/inherited_resources/belongs_to_helpers.rb'
-require File.dirname(__FILE__) + '/../lib/inherited_resources/class_methods.rb'
-require File.dirname(__FILE__) + '/../lib/inherited_resources/polymorphic_helpers.rb'
-require File.dirname(__FILE__) + '/../lib/inherited_resources/singleton_helpers.rb'
-require File.dirname(__FILE__) + '/../lib/inherited_resources/url_helpers.rb'
require File.dirname(__FILE__) + '/../lib/inherited_resources/base.rb'
# Define view_paths
ActionController::Base.view_paths = File.join(File.dirname(__FILE__), 'views')