fixed tests so that there is no more warnings.

Olli Huotari committed Mar 18, 2012
commit 7cab8d61f9551f1497b1f7a0bc38a4d15d10631f
Showing 1 changed file with 2 additions and 2 deletions
test/functional/cms_content_controller_test.rb +2 -2
@@ @@ -22,7 +22,7 @@ class CmsContentControllerTest < ActionController::TestCase
end
def test_render_page_with_app_layout
- cms_layouts(:default).update_attribute(:app_layout, 'cms_admin.html.erb')
+ cms_layouts(:default).update_attribute(:app_layout, 'cms_admin')
get :render_html, :cms_path => ''
assert_response :success
assert assigns(:cms_page)
@@ @@ -30,7 +30,7 @@ class CmsContentControllerTest < ActionController::TestCase
end
def test_render_page_with_xhr
- cms_layouts(:default).update_attribute(:app_layout, 'cms_admin.html.erb')
+ cms_layouts(:default).update_attribute(:app_layout, 'cms_admin')
xhr :get, :render_html, :cms_path => ''
assert_response :success
assert assigns(:cms_page)