Skip to content

Commit

Permalink
Fix duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Jun 29, 2011
1 parent e935763 commit 13e4b29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_rdoc_top_level.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ def test_add_method
@top_level.add_method method

object = RDoc::TopLevel.find_class_named 'Object'
assert_equal [method], object.method
assert_equal [method], object.method_list
assert_includes object.in_files, @top_level
end

def test_add_method
def test_add_method_stopdoc
@top_level.document_self = false

method = RDoc::AnyMethod.new nil, 'm'
Expand Down

0 comments on commit 13e4b29

Please sign in to comment.