summaryrefslogtreecommitdiffhomepage
path: root/spec/yardoc_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/yardoc_spec.rb')
-rw-r--r--spec/yardoc_spec.rb12
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