diff options
author | Tara Scherner de la Fuente <tara.scherner@livingsocial.com> | 2016-02-19 20:05:49 -0800 |
---|---|---|
committer | Tara Scherner de la Fuente <tara.scherner@livingsocial.com> | 2016-02-22 22:56:23 -0800 |
commit | 926a24a7510be3d7f611c03feaf83f50d36076e8 (patch) | |
tree | 2a0ebb41c6f3eea9456bff1d7ebd79ac647dd6bd /activerecord/test/cases/associations/join_model_test.rb | |
parent | 42ad173d19a2220996ec4172d05681bde2e7320b (diff) | |
download | rails-926a24a7510be3d7f611c03feaf83f50d36076e8.tar.gz rails-926a24a7510be3d7f611c03feaf83f50d36076e8.tar.bz2 rails-926a24a7510be3d7f611c03feaf83f50d36076e8.zip |
remove args from assert_nothing_raised in tests
Diffstat (limited to 'activerecord/test/cases/associations/join_model_test.rb')
-rw-r--r-- | activerecord/test/cases/associations/join_model_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/join_model_test.rb b/activerecord/test/cases/associations/join_model_test.rb index f6dddaf5b4..c850875619 100644 --- a/activerecord/test/cases/associations/join_model_test.rb +++ b/activerecord/test/cases/associations/join_model_test.rb @@ -88,7 +88,7 @@ class AssociationsJoinModelTest < ActiveRecord::TestCase def test_polymorphic_has_many_going_through_join_model_with_custom_select_and_joins assert_equal tags(:general), tag = posts(:welcome).tags.add_joins_and_select.first - assert_nothing_raised(NoMethodError) { tag.author_id } + assert_nothing_raised { tag.author_id } end def test_polymorphic_has_many_going_through_join_model_with_custom_foreign_key |