spec/lib/chamber_spec.rb in chamber-2.7.1 vs spec/lib/chamber_spec.rb in chamber-2.8.0

- old
+ new

@@ -69,11 +69,11 @@ only_namespaced_sub_settings: another_sub_setting: namespaced HEREDOC end -describe Chamber do +describe 'Chamber' do before(:each) { Chamber.load(basepath: '/tmp/chamber') } it 'knows how to load itself with a path string' do Chamber.load(basepath: '/tmp/chamber') @@ -278,16 +278,16 @@ expect(Chamber.filenames).to be_empty end it 'can render itself as a string even if it has not been loaded' do - Chamber.load + Chamber.load basepath: '/' expect(Chamber.to_s).to eql '' end it 'can determine settings even if it has not been loaded' do - Chamber.load + Chamber.load basepath: '/' expect(Chamber.to_hash).to eql({}) end it 'can unencrpyt an already encrpyted value if it has access to the private key' do