Sha256: 47f76fab2ef6209ce8bf2e4ff9c6449f4db77a939d22346b92ed8ea30a69ccde

Contents?: true

Size: 846 Bytes

Versions: 1

Compression:

Stored size: 846 Bytes

Contents

Feature: Adding content to Trello

  @add
  Scenario: Add a board
    Given the Trello API is stubbed with "add_board_success"
    When I run `troo add board "Cuke Add Board"`
    Then the output should contain:
      """
      New board 'Cuke Add Board' created.
      """

  @pending @failing @add
  Scenario: Add a board, name not provided
    Given the Trello API is stubbed with "add_board_interactive_success"
    When I run `troo add board` interactively
    And I type "Cuke Add Board Interactive"
    Then the output should contain:
      """
      New board 'Cuke Add Board Interactive' created.
      """

  @pending @failing @add
  Scenario: Cannot add a board
    Given the Trello API is stubbed with "add_board_failure"
    When I run `troo add board "My New Board"`
    Then the output should contain "Board could not be created."

Version data entries

1 entries across 1 versions & 1 rubygems

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