Sha256: 6cb96e5306bb113b9c37830ba81d05493ee1edb4b39be44fa3256b89acd32670
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
require 'spec_helper' describe A9n::Store do subject { described_class.new(:app_host => 'http://127.0.0.1:3000') } it 'gets value' do subject.app_host.should == 'http://127.0.0.1:3000' end it 'raises exception when value not exists' do expect { subject.non_existing }.to raise_error(A9n::NoSuchConfigurationVariable) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
a9n-0.0.3 | spec/store_spec.rb |
a9n-0.0.2 | spec/store_spec.rb |
a9n-0.0.1 | spec/store_spec.rb |