mirror of
https://github.com/redmine/redmine.git
synced 2025-11-14 01:06:00 +01:00
Replaced remaining #assert_tag with #assert_select.
git-svn-id: http://svn.redmine.org/redmine/trunk@13624 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -75,7 +75,7 @@ class UsersControllerTest < ActionController::TestCase
|
||||
assert_template 'show'
|
||||
assert_not_nil assigns(:user)
|
||||
|
||||
assert_tag 'li', :content => /Phone number/
|
||||
assert_select 'li', :text => /Phone number/
|
||||
end
|
||||
|
||||
def test_show_should_not_display_hidden_custom_fields
|
||||
@@ -86,7 +86,7 @@ class UsersControllerTest < ActionController::TestCase
|
||||
assert_template 'show'
|
||||
assert_not_nil assigns(:user)
|
||||
|
||||
assert_no_tag 'li', :content => /Phone number/
|
||||
assert_select 'li', :text => /Phone number/, :count => 0
|
||||
end
|
||||
|
||||
def test_show_should_not_fail_when_custom_values_are_nil
|
||||
|
||||
Reference in New Issue
Block a user