Sha256: a1c2e7e0d4fea3d7e206afbc8d45c06cc355d405cd9683b9937e66abf0ad1c70
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Yardstick::Document, '#file' do subject { described_class.new(docstring).file } let(:docstring) { double('docstring', object: object) } let(:object) { double('object', file: '/foo/bar.rb') } it { should be_kind_of(Pathname) } its(:to_s) { should == '/foo/bar.rb' } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yardstick-0.9.7 | spec/unit/yardstick/document/file_spec.rb |