Sha256: f028fcd7e4e46ec6035c045dfeb694188b8d6ea67607ff1ca3aa14aa3af6ba99

Contents?: true

Size: 388 Bytes

Versions: 3

Compression:

Stored size: 388 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Yardstick::Config, '#output=' do
  subject { config.output = output }

  let(:config) { described_class.new }
  let(:path)   { 'tmp/*.rb'          }

  before { config.output = path }

  context 'output' do
    subject { config.output }

    it { should be_a(Yardstick::ReportOutput) }

    its(:to_s) { should == 'tmp/*.rb' }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yardstick-0.9.9 spec/unit/yardstick/config/output_writer_spec.rb
yardstick-0.9.8 spec/unit/yardstick/config/output_writer_spec.rb
yardstick-0.9.7 spec/unit/yardstick/config/output_writer_spec.rb