Sha256: c404183f863cf38e093fa9a2255ef52bdce6bb81822c51372d46ee5192b771f7
Contents?: true
Size: 497 Bytes
Versions: 80
Compression:
Stored size: 497 Bytes
Contents
require File.expand_path('../../test_helper', File.dirname(__FILE__)) class CmsAdmin::BaseControllerTest < ActionController::TestCase def test_get_jump get :jump assert_response :redirect assert_redirected_to cms_admin_site_pages_path(cms_sites(:default)) end def test_get_jump_with_redirect_setting ComfortableMexicanSofa.config.admin_route_redirect = '/cms-admin/sites' get :jump assert_response :redirect assert_redirected_to '/cms-admin/sites' end end
Version data entries
80 entries across 80 versions & 1 rubygems