Skip to content

Commit

Permalink
more integration specs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Dec 19, 2012
1 parent 22d988e commit 3907c8a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/integration/fog_spec.rb
Expand Up @@ -23,11 +23,20 @@
subject.vaults.get(vault.id).should be_nil
end

it "should describe vaults" do
subject.describe_vault('myvault').body['VaultName'].should == 'myvault'
end

it "should list vault" do
subject.vaults.should have(1).item
subject.vaults.should
end

it "should do single-part uploads" do
subject.vaults.create :id => 'myvaultwithcontent'
subject.create_archive('myvaultwithcontent', 'data body')
end

it "should add archives to vaults" do
vault = subject.vaults.get 'myvault'

Expand Down

0 comments on commit 3907c8a

Please sign in to comment.