Sha256: e19073607b66263d42cfefe15145f0c871d3685366f51bb29dd1c6d32880f85c

Contents?: true

Size: 926 Bytes

Versions: 6

Compression:

Stored size: 926 Bytes

Contents

Feature: Refreshing a card

  @refresh
  Scenario: Refresh the card with ID
    Given the Trello API is stubbed with "200_card_by_id"
    And a card exists
    When I run `troo refresh card 20020`
    Then the output should contain "refreshed"

  @refresh
  Scenario: Cannot refresh; card not found
    Given the Trello API is stubbed with "400_card_by_id"
    When I run `troo refresh card 400`
    Then the output should contain "Card cannot be found"

  @refresh
  Scenario: Refresh the default card
    Given the Trello API is stubbed with "200_card_by_id"
    And a default card exists
    When I run `troo refresh card`
    Then the output should contain "refreshed"

  @refresh
  Scenario: Cannot refresh; no default card
    When I run `troo refresh card`
    Then the output should contain:
      """
      Card cannot be found. Specify an <id> or use 'troo default card <id>' to set a default card first.
      """

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
troo-0.0.15 features/refresh/card.feature
troo-0.0.14 features/refresh/card.feature
troo-0.0.13 features/refresh/card.feature
troo-0.0.12 features/refresh/card.feature
troo-0.0.11 features/refresh/card.feature
troo-0.0.10 features/refresh/card.feature