test for travis
Oleg
committed Jul 03, 2011
commit 0f7fd80ae4c9e00e23b019dd53beaf3f1944d310
Showing 1
changed file with
1 additions
and 1 deletions
test/functional/cms_admin/pages_controller_test.rb
+1
-1
| @@ | @@ -43,7 +43,7 @@ class CmsAdmin::PagesControllerTest < ActionController::TestCase |
| def test_get_new_with_field_string | |
| cms_layouts(:default).update_attribute(:content, '{{cms:field:test_label}}') | |
| get :new, :site_id => cms_sites(:default) | |
| - | assert_select "input[type='text'][name='page[blocks_attributes][][content]']", response.body |
| + | assert_select "input[type='text'][name='page[blocks_attributes][][content]']", 1, response.body |
| assert_select "input[type='hidden'][name='page[blocks_attributes][][label]'][value='test_label']" | |
| end | |