Sha256: d7bdfabf7d0b794c9a9abcf8d431e2889a88267967c0e77cf9ec8dd770e93221
Contents?: true
Size: 529 Bytes
Versions: 46
Compression:
Stored size: 529 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe YARD::CLI::Graph do it "should serialize output" do Registry.should_receive(:load).at_least(1).times subject.stub(:yardopts) { [] } subject.options.serializer.should_receive(:serialize).once subject.run end it 'should read yardoc file from .yardopts' do subject.stub(:yardopts) { %w(--db /path/to/db) } subject.options.serializer.should_receive(:serialize).once subject.run Registry.yardoc_file.should == '/path/to/db' end end
Version data entries
46 entries across 38 versions & 7 rubygems