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