Clean up assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8999 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
56a5f598f1
commit
21607751c9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue