Sha256: 3e964fbc5266c11986a58664d03efff4ebed491418f8c5d1bb60c7b0572faff4

Contents?: true

Size: 1.96 KB

Versions: 18

Compression:

Stored size: 1.96 KB

Contents

Feature: load credentials and the S3 bucket name from a file

  As an AWS S3 user
  Who has S3 credentials and the S3 bucket name in a YAML file
  I would like to configure the bucket to function as a website

  Scenario: config file is missing property "s3_id"
    Given a directory named "website-project"
    And a file named "website-project/s3_config.yml" with:
      """
      id: key
      s3_secret: SECRET
      s3_bucket: my-bucket
      """
    When I run `configure-s3-website --config-file website-project/s3_config.yml`
    Then the output should contain:
      """
      website-project/s3_config.yml does not contain the required key(s) s3_id
      """

  Scenario: config file is missing property "s3_secret"
    Given a directory named "website-project"
    And a file named "website-project/s3_config.yml" with:
      """
      s3_id: key
      s3_bucket: my-bucket
      """
    When I run `configure-s3-website --config-file website-project/s3_config.yml`
    Then the output should contain:
      """
      website-project/s3_config.yml does not contain the required key(s) s3_secret
      """

  Scenario: config file is missing property "s3_bucket"
    Given a directory named "website-project"
    And a file named "website-project/s3_config.yml" with:
      """
      s3_id: key
      s3_secret: secret
      """
    When I run `configure-s3-website --config-file website-project/s3_config.yml`
    Then the output should contain:
      """
      website-project/s3_config.yml does not contain the required key(s) s3_bucket
      """

  Scenario: config file is missing properties "s3_bucket" and "s3_id"
    Given a directory named "website-project"
    And a file named "website-project/s3_config.yml" with:
      """
      s3_secret: secret
      """
    When I run `configure-s3-website --config-file website-project/s3_config.yml`
    Then the output should contain:
      """
      website-project/s3_config.yml does not contain the required key(s) s3_id, s3_bucket
      """

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
configure-s3-website-1.7.3 features/config_file.feature
configure-s3-website-1.7.2 features/config_file.feature
configure-s3-website-1.7.1 features/config_file.feature
configure-s3-website-1.7.0 features/config_file.feature
configure-s3-website-1.6.0 features/config_file.feature
configure-s3-website-1.5.5 features/config_file.feature
configure-s3-website-1.5.4 features/config_file.feature
configure-s3-website-1.5.3 features/config_file.feature
configure-s3-website-1.5.2 features/config_file.feature
configure-s3-website-1.5.1 features/config_file.feature
configure-s3-website-1.5.0 features/config_file.feature
configure-s3-website-1.4.0 features/config_file.feature
configure-s3-website-1.3.0 features/config_file.feature
configure-s3-website-1.2.0 features/config_file.feature
configure-s3-website-1.1.2 features/config_file.feature
configure-s3-website-1.1.1 features/config_file.feature
configure-s3-website-1.1.0 features/config_file.feature
configure-s3-website-1.0.0 features/config_file.feature