mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove a redundant test assertion
This commit is contained in:
parent
4cfcf1ee54
commit
7a80ab5439
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue