Sha256: ae263a45484c1f6b5045892d29f02267454a744b52aeff7446a5ba1626954c40

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Yardstick::Config, '#verbose?' do
  subject { described_class.new(config).verbose? }

  context 'when set to true' do
    let(:config) { { :verbose => true } }

    it { should be(true) }
  end

  context 'when set to false' do
    let(:config) { { :verbose => false } }

    it { should be(false) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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