We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f93cef + 7a01369 commit a8c2831Copy full SHA for a8c2831
test/test_rdoc_ri_driver.rb
@@ -702,7 +702,16 @@ def test_display_method_overridden
702
def test_display_name
703
util_store
704
705
- assert_equal true, @driver.display_name('home:README.rdoc')
+ out, = capture_io do
706
+ assert_equal true, @driver.display_name('home:README.rdoc')
707
+ end
708
+
709
+ expected = <<-EXPECTED
710
+= README
711
+This is a README
712
+ EXPECTED
713
714
+ assert_equal expected, out
715
end
716
717
def test_display_name_not_found_class
0 commit comments