Sha256: ba7cecaadc6f71f89b88fb2f7138551ae20ad049dda2d78abd488963e77c7a2f

Contents?: true

Size: 872 Bytes

Versions: 1

Compression:

Stored size: 872 Bytes

Contents

Feature: Refreshing a resource

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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