Sha256: 7ad236e62e8d9a480230dc0faa4cc2dc76ca647a5ef473db9ff094d6f13572d6

Contents?: true

Size: 854 Bytes

Versions: 1

Compression:

Stored size: 854 Bytes

Contents

Feature: Refreshing a card

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

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

  @refresh
  Scenario: Refresh the default card
    Given the Trello API is stubbed with "refresh_default_card_success"
    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 "Default card cannot be found"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
troo-0.0.8 features/refresh/card.feature