Sha256: f23783a1c46d618822d8d9e1b51bbbf28a07144ecceae781aec3529c39f06e45
Contents?: true
Size: 503 Bytes
Versions: 1
Compression:
Stored size: 503 Bytes
Contents
require 'local_secure_file_store.rb' describe "Local Secure File Store" do it "should store a file using a specified key" do TestBed::testbeds.should == [] bed=TestBed.new store=bed.run("LocalSecureFileStore") me="1234" filename="myfile" content="testcontent" store.store(filename,me,content) fs=store.files(me) fs.should == [filename] store.load(filename,me).should == content bed.stop TestBed::testbeds.should == [] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appswarm-0.0.1 | apps/local_secure_file_store/spec/local_secure_file_store_spec.rb |