diff options
author | Koichi ITO <koic.ito@gmail.com> | 2017-05-27 01:58:34 +0900 |
---|---|---|
committer | Koichi ITO <koic.ito@gmail.com> | 2017-05-27 01:58:34 +0900 |
commit | 7a80ab54393b500ae08cc1cf93c93ece89097112 (patch) | |
tree | 8daa25863a8920c1bdc68b09269d43f6fc69bb89 /activerecord | |
parent | 4cfcf1ee542706c92c6c9b2e973e81b673fb220f (diff) | |
download | rails-7a80ab54393b500ae08cc1cf93c93ece89097112.tar.gz rails-7a80ab54393b500ae08cc1cf93c93ece89097112.tar.bz2 rails-7a80ab54393b500ae08cc1cf93c93ece89097112.zip |
Remove a redundant test assertion
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/finder_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/finder_test.rb b/activerecord/test/cases/finder_test.rb index a7b6333010..4837a169fa 100644 --- a/activerecord/test/cases/finder_test.rb +++ b/activerecord/test/cases/finder_test.rb @@ -743,7 +743,6 @@ class FinderTest < ActiveRecord::TestCase assert Topic.where(author_name: "David", title: "The First Topic", replies_count: 1, approved: false).find(1) assert_raise(ActiveRecord::RecordNotFound) { Topic.where(author_name: "David", title: "The First Topic", replies_count: 1, approved: true).find(1) } assert_raise(ActiveRecord::RecordNotFound) { Topic.where(author_name: "David", title: "HHC", replies_count: 1, approved: false).find(1) } - assert_raise(ActiveRecord::RecordNotFound) { Topic.where(author_name: "David", title: "The First Topic", replies_count: 1, approved: true).find(1) } end def test_condition_interpolation |