Sha256: 47ac548ffd9df163d9f1aeacce0040fab00ea55706347ae979b72f2db8d4584f

Contents?: true

Size: 274 Bytes

Versions: 11

Compression:

Stored size: 274 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper.rb'

require 'reek/configuration'

include Reek

describe SmellConfiguration do
  it 'returns the default value when key not found' do
    cf = SmellConfiguration.new({})
    cf.value('fred', nil, 27).should == 27
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
kevinrutherford-reek-1.1.3.14 spec/reek/configuration_spec.rb
kevinrutherford-reek-1.1.3.15 spec/reek/configuration_spec.rb
kevinrutherford-reek-1.1.3.16 spec/reek/configuration_spec.rb
kevinrutherford-reek-1.2.0 spec/reek/configuration_spec.rb
reek-1.2.6 spec/reek/configuration_spec.rb
reek-1.2.5 spec/reek/configuration_spec.rb
reek-1.2.4 spec/reek/configuration_spec.rb
reek-1.2.3 spec/reek/configuration_spec.rb
reek-1.2.2 spec/reek/configuration_spec.rb
reek-1.2.1 spec/reek/configuration_spec.rb
reek-1.2.0 spec/reek/configuration_spec.rb