Sha256: 6488dce8d7dc0b29b90f146fa6eb47f29a330c2cf97a11d8d007c08349647de5

Contents?: true

Size: 989 Bytes

Versions: 14

Compression:

Stored size: 989 Bytes

Contents

Feature: App settings
  In order to tune my application
  As an admin user
  I wand to customize settings

  Background:
    Given I am logged in

  Scenario: Editing user settings
    Given "config/settings/test.local.yml" contains:
      """
      mailer:
        from: no-reply@test.com
        reply_to: info@test.com
        subject_prefix: "[Dummy] "
      custom:
        integer: 111
        bool: false
        string: aaa
      """
    And I am on the edit admin settings page
    When I click "Custom"
    And I fill in the following:
      | Bool (checkbox) | check |
      | Integer         | 321   |
      | String          | Hello |
    And press "Save"

    Then the "Bool" checkbox should be checked
    And the "Integer" field should contain "321"
    And the "String" field should contain "Hello"

    Then the "custom.bool" setting should be true
    Then the "custom.integer" setting should be equal "321"
    Then the "custom.string" setting should be equal "Hello"

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ab_admin-0.3.6 features/settings.feature
ab_admin-0.3.5 features/settings.feature
ab_admin-0.3.4 features/settings.feature
ab_admin-0.3.3 features/settings.feature
ab_admin-0.3.2 features/settings.feature
ab_admin-0.3.1 features/settings.feature
ab_admin-0.3.0 features/settings.feature
ab_admin-0.2.3 features/settings.feature
ab_admin-0.2.2 features/settings.feature
ab_admin-0.2.1 features/settings.feature
ab_admin-0.2.0 features/settings.feature
ab_admin-0.1.2 features/settings.feature
ab_admin-0.1.1 features/settings.feature
ab_admin-0.1.0 features/settings.feature