spec/ruco/file_store_spec.rb in ruco-0.2.0.beta8 vs spec/ruco/file_store_spec.rb in ruco-0.2.0.beta9
- old
+ new
@@ -89,9 +89,10 @@
it "can store pure strings" do
store = Ruco::FileStore.new(@folder, :keep => 3, :string => true)
store.set('xxx','yyy')
File.read(store.file('xxx')).should == 'yyy'
+ store.get('xxx').should == 'yyy'
end
it "works without colors" do
store = Ruco::FileStore.new(@folder)
store.set('xxx',1)