test/defaults_test.rb in josevalim-inherited_resources-0.6.3 vs test/defaults_test.rb in josevalim-inherited_resources-0.7.0

- old
+ new

@@ -3,10 +3,11 @@ class Malarz def self.human_name; 'Painter'; end end class PaintersController < InheritedResources::Base - defaults :instance_name => 'malarz', :collection_name => 'malarze', :resource_class => Malarz + defaults :instance_name => 'malarz', :collection_name => 'malarze', + :resource_class => Malarz, :route_prefix => nil end class DefaultsTest < ActionController::TestCase tests PaintersController