Corrected a few failing functional tests (side effect of the prrevious commit)
This commit is contained in:
parent
b22d4fb530
commit
9d667c8ba5
|
@ -155,7 +155,7 @@ class AdminControllerTest < Test::Unit::TestCase
|
||||||
|
|
||||||
#returns to the same form
|
#returns to the same form
|
||||||
assert_success
|
assert_success
|
||||||
assert @response.has_template_object?(:error)
|
assert @response.has_template_object?('error')
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_edit_web_rename_to_already_existing_web_name
|
def test_edit_web_rename_to_already_existing_web_name
|
||||||
|
@ -169,7 +169,7 @@ class AdminControllerTest < Test::Unit::TestCase
|
||||||
|
|
||||||
#returns to the same form
|
#returns to the same form
|
||||||
assert_success
|
assert_success
|
||||||
assert @response.has_template_object?(:error)
|
assert @response.has_template_object?('error')
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_edit_web_empty_password
|
def test_edit_web_empty_password
|
||||||
|
@ -180,7 +180,7 @@ class AdminControllerTest < Test::Unit::TestCase
|
||||||
|
|
||||||
#returns to the same form
|
#returns to the same form
|
||||||
assert_success
|
assert_success
|
||||||
assert @response.has_template_object?(:error)
|
assert @response.has_template_object?('error')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue