diff options
| author | Seba Gamboa <[email protected]> | 2015-09-25 19:20:28 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-09-25 19:20:28 -0300 |
| commit | eb09ea05366860a23dab47cb743172db42a4c12f (patch) | |
| tree | ba59979bdc5045658f797a9165143fdd16959329 /spec/yardoc_spec.rb | |
| parent | 93bb5fa28b64459776f80d27ce4782754b741e48 (diff) | |
| download | yard-mruby-eb09ea05366860a23dab47cb743172db42a4c12f.tar.gz yard-mruby-eb09ea05366860a23dab47cb743172db42a4c12f.zip | |
Change default files. Closes #3
Diffstat (limited to 'spec/yardoc_spec.rb')
| -rw-r--r-- | spec/yardoc_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/yardoc_spec.rb b/spec/yardoc_spec.rb new file mode 100644 index 0000000..1073178 --- /dev/null +++ b/spec/yardoc_spec.rb @@ -0,0 +1,12 @@ +require "spec_helper" + +describe YARD::CLI::Yardoc do + before do + @yardoc = YARD::CLI::Yardoc.new + @yardoc.parse_arguments + end + + it "should use mrblib/**/*.rb src/**/*.c include/**/*.h as default file glob" do + expect(@yardoc.files).to eq %w{mrblib/**/*.rb src/**/*.c include/**/*.h} + end +end |
