diff --git a/test/integration/authenticatable_test.rb b/test/integration/authenticatable_test.rb index b471674f..8e4fee02 100644 --- a/test/integration/authenticatable_test.rb +++ b/test/integration/authenticatable_test.rb @@ -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 "\n\n \n \n\n", response.body + assert_match '', response.body + assert_match /.*<\/user>/m, response.body + assert_match '', response.body + assert_match '', response.body end test 'sign in stub in json format' do