mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Fix order specific test
This commit is contained in:
parent
d699b80254
commit
cf5fbb9d65
1 changed files with 4 additions and 1 deletions
|
@ -407,7 +407,10 @@ class AuthenticationOthersTest < ActionController::IntegrationTest
|
|||
|
||||
test 'sign in stub in xml format' do
|
||||
get new_user_session_path(:format => 'xml')
|
||||
assert_equal "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<user>\n <email></email>\n <password nil=\"true\"></password>\n</user>\n", response.body
|
||||
assert_match '<?xml version="1.0" encoding="UTF-8"?>', response.body
|
||||
assert_match /<user>.*<\/user>/m, response.body
|
||||
assert_match '<email></email>', response.body
|
||||
assert_match '<password nil="true"></password>', response.body
|
||||
end
|
||||
|
||||
test 'sign in stub in json format' do
|
||||
|
|
Loading…
Reference in a new issue