Sha256: fcef3e66b098c82ec538226d8c5bac9cea4677ab45e455f9420fb073ddfab5b0

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 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

1 entries across 1 versions & 1 rubygems

Version Path
yardstick-0.9.7 spec/unit/yardstick/config/verbose_predicate_spec.rb