Sha256: 2f53170add81cb54e287fb80463f62232a7e08f6ef62c8d698edd2e9264e353e
Contents?: true
Size: 656 Bytes
Versions: 29
Compression:
Stored size: 656 Bytes
Contents
require File.expand_path('../../test_helper', File.dirname(__FILE__)) class CmsAdmin::DialogsControllerTest < ActionController::TestCase def test_get_image_dialog get :show, :site_id => cms_sites(:default), :type => 'image' assert_response :success assert_template 'image' assert_select "input[name=image_url]" end def test_get_link_dialog get :show, :site_id => cms_sites(:default), :type => 'link' assert_response :success assert_template 'link' end def test_get_invalid get :show, :site_id => cms_sites(:default), :type => 'invalid' assert_response :success assert_blank response.body end end
Version data entries
29 entries across 29 versions & 1 rubygems