summaryrefslogtreecommitdiffhomepage
path: root/spec/yardoc_spec.rb
blob: 2268d5bd59a8099c2aa62380a7f18465a8912348 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 match_array(%w{mrblib/**/*.rb src/**/*.c include/**/*.h})
  end
end