mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
to_json does not guarantee the order.
This commit is contained in:
@@ -343,7 +343,9 @@ class AuthenticationOthersTest < ActionController::IntegrationTest
|
||||
|
||||
test 'sign in stub in json format' do
|
||||
get new_user_session_path(:format => 'json')
|
||||
assert_equal "{\"user\":{\"password\":\"\",\"email\":\"\"}}", response.body
|
||||
assert_match '{"user":{', response.body
|
||||
assert_match '"email":""', response.body
|
||||
assert_match '"password":""', response.body
|
||||
end
|
||||
|
||||
test 'uses the mapping from router' do
|
||||
|
||||
Reference in New Issue
Block a user