Sha256: 1deb057fc736acbb949f653eaed019ae32721c333822587000694bc2d25d27d8

Contents?: true

Size: 595 Bytes

Versions: 2

Compression:

Stored size: 595 Bytes

Contents

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

describe 'SimpleDB.delete_attributes' do
  describe 'success' do

    before(:each) do
      sdb.create_domain('delete_attributes')
      sdb.put_attributes('delete_attributes', 'foo', { :bar => :baz })
    end

    after(:each) do
      sdb.delete_domain('delete_attributes')
    end

    it 'should return proper attributes from delete_attributes' do
      actual = sdb.delete_attributes('delete_attributes', 'foo')
      actual.body['RequestId'].should be_a(String)
      actual.body['BoxUsage'].should be_a(Float)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-0.0.4 spec/aws/requests/simpledb/delete_attributes_spec.rb
fog-0.0.3 spec/aws/requests/simpledb/delete_attributes_spec.rb