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.
1 parent d7971e4 commit 0d742cfCopy full SHA for 0d742cf
test/test_rdoc_rdoc.rb
@@ -40,6 +40,24 @@ def test_document # functional test
40
assert_equal 'title', store.title
41
end
42
43
+ def test_document_with_dry_run # functional test
44
+ options = RDoc::Options.new
45
+ options.files = [File.expand_path('../xref_data.rb', __FILE__)]
46
+ options.setup_generator 'darkfish'
47
+ options.main_page = 'MAIN_PAGE.rdoc'
48
+ options.root = Pathname File.expand_path('..', __FILE__)
49
+ options.title = 'title'
50
+ options.dry_run = true
51
+
52
+ rdoc = RDoc::RDoc.new
53
54
+ temp_dir do
55
+ capture_io do
56
+ rdoc.document options
57
+ end
58
59
60
61
def test_gather_files
62
a = File.expand_path __FILE__
63
b = File.expand_path '../test_rdoc_text.rb', __FILE__
0 commit comments