Sha256: 4868d225b0b3d97955b2fdea23cff6c48bec3332e07510b9752350e05d7b5bf1
Contents?: true
Size: 452 Bytes
Versions: 19
Compression:
Stored size: 452 Bytes
Contents
require 'test_helper' module Workarea module Admin class NavigationHelperTest < ViewTest include Engine.routes.url_helpers def test_index_url_for assert_equal(admin.catalog_products_path, index_url_for(Catalog::Product)) assert_equal(admin.catalog_products_path, index_url_for(create_product)) assert_nil(index_url_for(Fulfillment)) assert_raises { index_url_for('foo') } end end end end
Version data entries
19 entries across 19 versions & 1 rubygems