Sha256: 39101384ca8f7093f8b171c868ba19804603888d8dd4485b3be28110e1570030

Contents?: true

Size: 858 Bytes

Versions: 1

Compression:

Stored size: 858 Bytes

Contents

Feature: Refreshing a resource

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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