Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cosmetic change to assert_valid

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit af60120d30157837d92b02953e04131facd1f7de 1 parent 373bc86
Tobias Lütke authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/assertions.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.