Sha256: b54cc9cd79def3c478f776ceb57a8e00cceca8898522bd0a87aa60dc2f56dec6

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Yardstick::Document, '#path' do
  subject { described_class.new(docstring).path }

  let(:docstring) { double('docstring', object: object) }
  let(:object)    { double('object', path: 'Foo#bar')   }

  it { should eq('Foo#bar') }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yardstick-0.9.7 spec/unit/yardstick/document/path_spec.rb