Sha256: fda5b2429c1085fc2dc33de79cd8e82661294178bdea21fdc434e9bde9829719
Contents?: true
Size: 635 Bytes
Versions: 1
Compression:
Stored size: 635 Bytes
Contents
require 'application.rb' describe "App Configuration" do it_should_behave_like "AppSwarm Test" class TestClass<Application end it "should save and restore app configs" do b=TestBed.new fs=b.run("LocalFileStore") test=TestClass.new(b,{}) c=fs.config(test) c.reset ns=c[:nameSpace] ns["myName"]="someAddress" b.stop b=TestBed.new(:testbedId=>b.testbedId) fs=b.run("LocalFileStore") sleep 0.4 test=TestClass.new(b,{}) c=AppConfiguration.config(test) #c=fs.config(test) c.elements.should == {:nameSpace=>{"myName"=>"someAddress"}} b.stop end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appswarm-0.0.1 | apps/local_file_store/spec/app_configuration_spec.rb |