Sha256: 8bb564429a773c15621116f1b228b9379a79fa15b08fc5084a5ef295e87f94f5
Contents?: true
Size: 447 Bytes
Versions: 12
Compression:
Stored size: 447 Bytes
Contents
require File.join(File.dirname(File.dirname(File.dirname(File.expand_path(__FILE__)))), 'spec_helper') require File.join(File.dirname(File.dirname(File.dirname(File.dirname(File.expand_path(__FILE__))))), 'lib', 'reek', 'core', 'smell_configuration') include Reek::Core 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
12 entries across 12 versions & 1 rubygems