Sha256: abbf9d7149cdfcfcf5f8558d8a5697e26722f98afd427a5fab4035d63bfd4864
Contents?: true
Size: 546 Bytes
Versions: 2
Compression:
Stored size: 546 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'SimpleDB.put_attributes' do before(:all) do @sdb = Fog::AWS::SimpleDB.gen @domain_name = "fog_domain_#{Time.now.to_i}" @sdb.create_domain(@domain_name) end after(:all) do @sdb.delete_domain(@domain_name) end it 'should return proper attributes from put_attributes' do actual = @sdb.put_attributes(@domain_name, 'foo', { 'bar' => 'baz' }) 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/put_attributes_spec.rb |
geemus-fog-0.0.3 | spec/aws/requests/simpledb/put_attributes_spec.rb |