Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

do not bother with assert_nothing_raised, the test will fail and we g…

…et a better trace without it
  • Loading branch information...
commit 99cfdba1e18fc6f75ced54cb16829a8ab4b8a4b6 1 parent d387a59
Aaron Patterson tenderlove authored
4 activerecord/test/cases/associations/has_many_through_associations_test.rb
View
@@ -499,9 +499,7 @@ def test_deprecated_interpolated_conditions
def test_create_should_not_raise_exception_when_join_record_has_errors
repair_validations(Categorization) do
Categorization.validate { |r| r.errors[:base] << 'Invalid Categorization' }
- assert_nothing_raised do
- Category.create(:name => 'Fishing', :authors => [Author.first])
- end
+ Category.create(:name => 'Fishing', :authors => [Author.first])
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.