From af60120d30157837d92b02953e04131facd1f7de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20L=C3=BCtke?= Date: Fri, 23 Dec 2005 19:47:10 +0000 Subject: [PATCH] cosmetic change to assert_valid git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/assertions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_controller/assertions.rb b/actionpack/lib/action_controller/assertions.rb index 00811d24d55bb..999edc1440b9c 100644 --- a/actionpack/lib/action_controller/assertions.rb +++ b/actionpack/lib/action_controller/assertions.rb @@ -304,7 +304,7 @@ def assert_dom_not_equal(expected, actual, message="") # ensures that the passed record is valid by active record standards. returns the error messages if not def assert_valid(record) clean_backtrace do - assert record.valid?, record.errors.full_messages + assert record.valid?, record.errors.full_messages.join("\n") end end