Sha256: 38179769f81458f6f8586102380d98caf571512806e950deac278d8fb91f3ae7

Contents?: true

Size: 1.19 KB

Versions: 11

Compression:

Stored size: 1.19 KB

Contents

@no-clobber
Feature: Secret Token
  Background:
    Given I have created the app "myapp" with pah

  Scenario: Have correct files
    Then I have the file .env and contents of this file should match:
      """
      SECRET_KEY_BASE: \w+
      """
    Then I have the file config/secrets.yml and contents of this file should include:
      """
      # Be sure to restart your server when you modify this file.

      # Your secret key is used for verifying the integrity of signed cookies.
      # If you change this key, all old signed cookies will become invalid!

      # Make sure the secret is at least 30 characters and all random,
      # no regular words or you'll be exposed to dictionary attacks.
      # You can use `rake secret` to generate a secure secret key.

      # Make sure the secrets in this file are kept private
      # if you're sharing your code publicly.

      development:
        secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>

      test:
        secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>

      # Do not keep production secrets in the repository,
      # instead read values from the environment.
      production:
        secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
      """

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pah-0.0.26 features/secret_token.feature
pah-0.0.25 features/secret_token.feature
pah-0.0.24 features/secret_token.feature
pah-0.0.23 features/secret_token.feature
pah-0.0.22 features/secret_token.feature
pah-0.0.21 features/secret_token.feature
pah-0.0.20 features/secret_token.feature
pah-0.0.19 features/secret_token.feature
pah-0.0.17 features/secret_token.feature
pah-0.0.16 features/secret_token.feature
pah-0.0.15 features/secret_token.feature