Sha256: b2ee5a5150334ab04d8657ecb984830b954699dd461daafa08e6bc4e052345b4

Contents?: true

Size: 930 Bytes

Versions: 6

Compression:

Stored size: 930 Bytes

Contents

Feature: Refreshing a resource

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

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

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

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