aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-27 01:58:34 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-05-27 01:58:34 +0900
commit7a80ab54393b500ae08cc1cf93c93ece89097112 (patch)
tree8daa25863a8920c1bdc68b09269d43f6fc69bb89 /activerecord/test/cases
parent4cfcf1ee542706c92c6c9b2e973e81b673fb220f (diff)
downloadrails-7a80ab54393b500ae08cc1cf93c93ece89097112.tar.gz
rails-7a80ab54393b500ae08cc1cf93c93ece89097112.tar.bz2
rails-7a80ab54393b500ae08cc1cf93c93ece89097112.zip
Remove a redundant test assertion
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/finder_test.rb1
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