From 21607751c97ed193a8df78a615f40e7284106a46 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 25 Feb 2012 12:35:22 +0000 Subject: [PATCH] Clean up assertion. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8999 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/news_controller_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/functional/news_controller_test.rb b/test/functional/news_controller_test.rb index 564f91bdf..490bb34a5 100644 --- a/test/functional/news_controller_test.rb +++ b/test/functional/news_controller_test.rb @@ -117,8 +117,7 @@ class NewsControllerTest < ActionController::TestCase assert_template 'new' assert_not_nil assigns(:news) assert assigns(:news).new_record? - assert_tag :tag => 'div', :attributes => { :id => 'errorExplanation' }, - :content => /1 error/ + assert_error_tag :content => /title can't be blank/i end def test_get_edit -- 2.39.5