diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-25 12:35:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-25 12:35:22 +0000 |
commit | 21607751c97ed193a8df78a615f40e7284106a46 (patch) | |
tree | 9c092edf41ec9b3259b511ab3f208752f0dcbf50 /test/functional/news_controller_test.rb | |
parent | 56a5f598f18d305c4ff88e5ce44fccc8096c58d0 (diff) | |
download | redmine-21607751c97ed193a8df78a615f40e7284106a46.tar.gz redmine-21607751c97ed193a8df78a615f40e7284106a46.zip |
Clean up assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8999 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/news_controller_test.rb')
-rw-r--r-- | test/functional/news_controller_test.rb | 3 |
1 files changed, 1 insertions, 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 |