Browse files

cosmetic change to assert_valid

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 373bc86 commit af60120d30157837d92b02953e04131facd1f7de Tobias Lütke committed Dec 23, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 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")

0 comments on commit af60120

Please sign in to comment.