Sha256: 8082a330665104fe9ff7482b114bcb5af565e96dfb18f246be31dcb9e11e9e2a

Contents?: true

Size: 790 Bytes

Versions: 2

Compression:

Stored size: 790 Bytes

Contents

Feature: Seivan Config Generator
  In order to have configure an app
  As a rails developer
  I want to generate a config file and manager

  Scenario: Generate normal config
    Given a new Rails app
    When I run "rails g seivan:config"
    Then I should see file "config/app_config.yml"
    And I should see file "config/initializers/load_app_config.rb"

  Scenario: Generate named config
    Given a new Rails app
    When I run "rails g seivan:config FooBar"
    Then I should see "FOO_BAR_CONFIG" in file "config/initializers/load_foo_bar_config.rb"
    And I should see "config/foo_bar_config.yml" in file "config/initializers/load_foo_bar_config.rb"
    And I should see "default: &default" in file "config/foo_bar_config.yml"
    And I should see file "config/foo_bar_config.yml"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
seivan-generators-0.5 features/seivan_config.feature
seivan-generators-0.4 features/seivan_config.feature