Sha256: 66fc21c6b4159b6ca9f39a7ba53452e14aff7067f8ba328b68e101e437e5564e
Contents?: true
Size: 389 Bytes
Versions: 8
Compression:
Stored size: 389 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
8 entries across 8 versions & 1 rubygems