test/helpers/router_helper_test.rb in adminpanel-2.2.5 vs test/helpers/router_helper_test.rb in adminpanel-2.3.0
- old
+ new
@@ -4,10 +4,10 @@
include Adminpanel::RouterHelper
fixtures :all
def test_get_gallery_childen
- assert_equal 'photos', get_gallery_children(:products)
+ assert_equal 'galleryfiles', get_gallery_children(:gallery)
end
def test_resource_parameters
assert_equal( { path: 'categorias' }, resources_parameters(:categories) )
assert_equal( { path: 'articulo-espacios-mayusculas-y-acentos' }, resources_parameters(:items) )