Sha256: 68f6f65a9fb31b1c9ac3d0568d89242c05f860d0c1984f0fd41e34061b7d7b9b
Contents?: true
Size: 546 Bytes
Versions: 3
Compression:
Stored size: 546 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
deg-yard-0.8.7.4 | spec/cli/graph_spec.rb |
deg-yard-0.8.7.3 | spec/cli/graph_spec.rb |
deg-yard-0.8.7.1 | spec/cli/graph_spec.rb |