Sha256: 84b16dac4d314680df0f83b4a22d27245b3d23ce2bc45b7c07350ffce44ffd62
Contents?: true
Size: 389 Bytes
Versions: 1
Compression:
Stored size: 389 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Yardstick::Document, '#tag_text' do subject { described_class.new(docstring).tag_text(name) } let(:name) { 'api' } let(:docstring) { double('docstring') } let(:yard_tag) { double(text: 'private') } before do docstring.stub(:tag).with(name) { yard_tag } end it { should eq('private') } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yardstick-0.9.7 | spec/unit/yardstick/document/tag_text_spec.rb |