Sha256: 15b7ad1738c1ba115fc9e7a5f566c54fcb1845d7a868a2de49a1ca8b51b9e3af
Contents?: true
Size: 381 Bytes
Versions: 3
Compression:
Stored size: 381 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Yardstick::ReportOutput, '.coerce' do subject { described_class.coerce(target) } let(:target) { '/foo/bar.rb' } it { should be_a(described_class) } its(:to_s) { should eq(target) } it 'coerces target to Pathname' do target = subject.instance_variable_get(:@target) expect(target).to be_a(Pathname) end end
Version data entries
3 entries across 3 versions & 1 rubygems