From cf5fbb9d6531543d2c6aeb845ab7e0874019a296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Tue, 10 Jan 2012 11:59:20 -0300 Subject: [PATCH] Fix order specific test --- test/integration/authenticatable_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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