Skip to content

Commit

Permalink
cosmetic change to assert_valid
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
Tobias Lütke committed Dec 23, 2005
1 parent 373bc86 commit af60120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/assertions.rb
Expand Up @@ -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

Expand Down

0 comments on commit af60120

Please sign in to comment.