Sha256: 7df4ca7904d37349357aa60fced621a35ecca0fc4954058cebc9db04ea5dfbd9

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Yardstick::Config, '#verbose=' do
  subject { described_class.new }

  context 'when argument is true' do
    before { subject.verbose = true }

    it { should be_verbose }
  end

  context 'when argument is false' do
    before { subject.verbose = false }

    it { should_not be_verbose }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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