Sha256: f81cfffe8cbeb1d990b0f07d7b0735e19f7af972fb73afe3ed0acb67fd71cbc4

Contents?: true

Size: 924 Bytes

Versions: 1

Compression:

Stored size: 924 Bytes

Contents

Feature: Showing a list
  Background:
    Given a board exists
    And a card exists

  @show
  Scenario: Showing a list with ID
    Given a list exists
    When I run `troo show list 1`
    Then the output should contain:
      """
       (1) My Test Board
           (1) My Test List
           (67) My Test Card
      """

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

  @show
  Scenario: Showing the default list
    Given a default list exists
    When I run `troo show list`
    Then the output should contain:
      """
       (1) My Test Board
          * (1) My Default List
           (67) My Test Card
      """

  @show
  Scenario: Cannot show; no default list
    When I run `troo show list`
    Then the output should contain "set a default list first"

Version data entries

1 entries across 1 versions & 1 rubygems

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