Sha256: ee963c1ccf46ade5f0d0e6138a5704f15b7b3d6f1b7e87e5a905c6d58aac2c24
Contents?: true
Size: 391 Bytes
Versions: 1
Compression:
Stored size: 391 Bytes
Contents
require 'spec_helper' describe HSS::Parser do let(:config) { 'spec/test/config.yml' } let(:handler) { HSS::Handler.new config } describe '#default' do it 'uses the provided value if set' do expect(handler.handle('def_77')).to eql 'chose_77' end it 'uses the default if the value is unset' do expect(handler.handle('def_')).to eql 'chose_10' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hss-1.1.0 | spec/helpers/default_spec.rb |