Sha256: 3088de5eb74d13c60640c5f6292c18ac1223d6094b8075a73f1c75ac30aa0e82

Contents?: true

Size: 946 Bytes

Versions: 6

Compression:

Stored size: 946 Bytes

Contents

Feature: Refreshing a resource

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

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

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

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