Sha256: f9e9e61cb02c61d783eeab9698728c9f30d2c1528e8f4f2f7ba2ef63a9839de2
Contents?: true
Size: 596 Bytes
Versions: 3
Compression:
Stored size: 596 Bytes
Contents
### exist ```ruby describe s3('my-bucket') do it { should exist } end ``` ### have_acl_grant ```ruby describe s3('my-bucket') do its(:acl_grants_count) { should eq 3 } it { should have_acl_grant(grantee: 'my-bucket-owner', permission: 'FULL_CONTROL') } it { should have_acl_grant(grantee: 'my-bucket-write-only', permission: 'WRITE') } it { should have_acl_grant(grantee: 'my-bucket-read-only', permission: 'READ') } its(:acl_owner) { should eq 'my-bucket-owner' } end ``` ### have_object ```ruby describe s3('my-bucket') do it { should have_object('path/to/object') } end ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
awspec-0.24.1 | doc/_resource_types/s3.md |
awspec-0.24.0 | doc/_resource_types/s3.md |
awspec-0.23.0 | doc/_resource_types/s3.md |