spec/ruco/file_store_spec.rb in ruco-0.2.0.beta7 vs spec/ruco/file_store_spec.rb in ruco-0.2.0.beta8
- old
+ new
@@ -90,6 +90,12 @@
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'
end
+
+ it "works without colors" do
+ store = Ruco::FileStore.new(@folder)
+ store.set('xxx',1)
+ store.get('xxx').should == 1
+ end
end