Sha256: bbc83143968c06fde44227a5dd64056c35413a0b19bd27c2e137645793d31bf6
Contents?: true
Size: 492 Bytes
Versions: 19
Compression:
Stored size: 492 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe 'Slicehost.get_backups' do describe 'success' do it "should return proper attributes" do actual = Slicehost[:slices].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
Version data entries
19 entries across 19 versions & 1 rubygems