Sha256: 39dcff9cc92e90b0848d7eccbed20486178facf550bb4c7f2e23710a790529da
Contents?: true
Size: 421 Bytes
Versions: 1
Compression:
Stored size: 421 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Yardstick::Document, '#tag_types' do subject { described_class.new(docstring).tag_types(name) } let(:name) { 'tag name' } let(:docstring) { double('docstring') } let(:yard_tag) { double(types: types) } let(:types) { %w[type1 type2] } before do docstring.stub(:tag).with(name) { yard_tag } end it { should be(types) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yardstick-0.9.7 | spec/unit/yardstick/document/tag_types_spec.rb |