Sha256: d3ee704dee05b5bd15baf43a2217820473ba6c932698ce88235adffe40cb0883

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

require File.dirname(__FILE__) + '/../../../spec_helper'

describe 'SimpleDB.delete_domain' do

  before(:all) do
    @sdb = Fog::AWS::SimpleDB.gen
    @domain_name = "fog_domain_#{Time.now.to_i}"
  end

  before(:all) do
    @sdb.create_domain(@domain_name)
  end

  it 'should return proper attributes' do
    actual = @sdb.delete_domain(@domain_name)
    actual.body['RequestId'].should be_a(String)
    actual.body['BoxUsage'].should be_a(Float)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geemus-fog-0.0.1 spec/aws/requests/simpledb/delete_domain_spec.rb
geemus-fog-0.0.3 spec/aws/requests/simpledb/delete_domain_spec.rb