Sha256: 525126fdfc04adc5e38d122fdbad218aa42ff292487d79f45ca385a16f8a26b7
Contents?: true
Size: 471 Bytes
Versions: 3
Compression:
Stored size: 471 Bytes
Contents
describe BubbleWrap::Persistence do describe '.app_key' do it 'delegates to BubbleWrap::App.idenfitier' do BubbleWrap::Persistence.app_key.should == BubbleWrap::App.identifier end end it 'can persist simple objects' do lambda do BubbleWrap::Persistence['arbitraryNumber'] = 42 end. should.not.raise(Exception) end it 'can retrieve persisted objects' do BubbleWrap::Persistence['arbitraryNumber'].should == 42 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bubble-wrap-0.4.0 | spec/core/persistence_spec.rb |
bubble-wrap-0.3.1 | spec/persistence_spec.rb |
bubble-wrap-0.3.0 | spec/persistence_spec.rb |