Sha256: 9ce07217ddbe2b4843204eeed5fc1172dc1efae0a307dd4947f31fea459c515b

Contents?: true

Size: 1.67 KB

Versions: 47

Compression:

Stored size: 1.67 KB

Contents

@javascript
Feature: Expenses
  Background:
    Given an authenticated user
    And an existing expense category

  Scenario: Create expense
    When I go on the expenses page
    Then I see 0 expense
    When I create a new expense
    Then the expense is created
    And I am redirected on the expense page
    And I see 2 expense lines
    When I go on the expenses page
    Then I see 1 expense

  Scenario: Update expense
    Given an existing expense
    When I go on the expenses page
    Then I see 1 expense
    When I update the expense
    Then the expense is update
    And I am redirected on the expense page

  Scenario: Copy expense
    Given an existing expense
    When I go on the expense page
    When I copy the expense
    Then an expense copy is created
    And I am redirected on the expense page

  Scenario: Submit expense
    Given an existing expense
    When I go on the expense page
    And I submit the expense
    Then I am redirect to the expenses page
    And the expense state is "submitted"

  Scenario: Cancel expense
    Given an existing expense
    When I go on the expense page
    And I cancel the expense
    Then I am redirect to the expenses page
    And the expense state is "canceled"

  Scenario: Accept expense
    Given an existing expense
    And the expense is submitted
    When I go on the expense page
    And I accept the expense
    Then I am redirect to the expense page
    And the expense state is "accepted"

  Scenario: Refuse expense
    Given an existing expense
    And the expense is submitted
    When I go on the expense page
    And I refuse the expense
    Then I am redirect to the expenses page
    And the expense state is "refused"

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
dorsale-3.18.0 features/expense_gun_expenses.feature
dorsale-3.17.0 features/expense_gun_expenses.feature
dorsale-3.16.0 features/expense_gun_expenses.feature
dorsale-3.15.0 features/expense_gun_expenses.feature
dorsale-3.14.11 features/expense_gun_expenses.feature
dorsale-3.14.10 features/expense_gun_expenses.feature
dorsale-3.14.9 features/expense_gun_expenses.feature
dorsale-3.14.8 features/expense_gun_expenses.feature
dorsale-3.14.7 features/expense_gun_expenses.feature
dorsale-3.14.6 features/expense_gun_expenses.feature
dorsale-3.14.5 features/expense_gun_expenses.feature
dorsale-3.14.3 features/expense_gun_expenses.feature
dorsale-3.14.2 features/expense_gun_expenses.feature
dorsale-3.14.1 features/expense_gun_expenses.feature
dorsale-3.14.0 features/expense_gun_expenses.feature
dorsale-3.13.0 features/expense_gun_expenses.feature
dorsale-3.12.0 features/expense_gun_expenses.feature
dorsale-3.11.0 features/expense_gun_expenses.feature
dorsale-3.10.3 features/expense_gun_expenses.feature
dorsale-3.10.2 features/expense_gun_expenses.feature