Sha256: 1f582c2a9dda256470708aaa2585ee04b73162a48acb75ae25a4bed6fe52e27d

Contents?: true

Size: 1.63 KB

Versions: 3

Compression:

Stored size: 1.63 KB

Contents

Feature: configure an S3 bucket to function as a website

  @bucket-does-not-exist
  Scenario: The bucket does not yet exist
    Given my config file is in "features/support/sample_config_files/s3_config_with_non-existing_bucket.yml"
    When I run the configure-s3-website command
    Then the output should be
      """
      Created bucket name-of-a-new-bucket in the US Standard Region
      Bucket name-of-a-new-bucket now functions as a website
      Bucket name-of-a-new-bucket is now readable to the whole world

      """

  @bucket-does-not-exist
  Scenario: The configuration does not contain the 's3_endpoint' setting
    Given my config file is in "features/support/sample_config_files/s3_config_with_non-existing_bucket.yml"
    When I run the configure-s3-website command
    Then the output should include
      """
      Created bucket name-of-a-new-bucket in the US Standard Region
      """

  @bucket-does-not-exist-in-tokyo
  Scenario: Create bucket into the Tokyo region
    Given my config file is in "features/support/sample_config_files/endpoint_tokyo.yml"
    When I run the configure-s3-website command
    Then the output should include
      """
      Created bucket name-of-a-new-bucket in the Asia Pacific (Tokyo) Region
      """

  @bucket-exists
  Scenario: The bucket already exists
    Given my config file is in "features/support/sample_config_files/s3_config_with_existing_bucket.yml"
    When I run the configure-s3-website command
    Then the output should be
      """
      Bucket name-of-an-existing-bucket now functions as a website
      Bucket name-of-an-existing-bucket is now readable to the whole world

      """

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
configure-s3-website-1.1.2 features/configure_bucket.feature
configure-s3-website-1.1.1 features/configure_bucket.feature
configure-s3-website-1.1.0 features/configure_bucket.feature