mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
17 lines
483 B
Ruby
17 lines
483 B
Ruby
require File.dirname(__FILE__) + '/../../spec_helper'
|
|
|
|
describe 'Slicehost.get_backups' do
|
|
describe 'success' do
|
|
|
|
it "should return proper attributes" do
|
|
actual = slicehost.get_backups.body
|
|
actual['backups'].should be_an(Array)
|
|
backup = actual['backups'].first
|
|
# backup['date'].should be_a(String)
|
|
# backup['id'].should be_an(Integer)
|
|
# backup['name'].should be_an(String)
|
|
# backup['slice-id'].should be_an(Integer)
|
|
end
|
|
|
|
end
|
|
end
|