Sha256: 20efc612466d4057763f6a16e8202d859f994c2de2cb76d6e01dd6bb2a3a9574

Contents?: true

Size: 803 Bytes

Versions: 1

Compression:

Stored size: 803 Bytes

Contents

Feature: Adding content to Trello
  Background:
    Given a list exists

  @add
  Scenario: Add a card
    Given the Trello API is stubbed with "200_create_card"
    When I run `troo add card 200 "My Cucumber Card"`
    Then the output should contain:
      """
      New card 'My Cucumber Card' created.
      """

  @add
  Scenario: Add a card, name not provided
    Given the Trello API is stubbed with "400_create_card"
    When I run `troo add card 400 ""`
    Then the output should contain:
      """
      Card could not be created.
      """

  @add
  Scenario: Cannot add a card as list not found
    Given the Trello API is stubbed with "400_create_card"
    When I run `troo add card 400 "My Cucumber Card"`
    Then the output should contain:
    """
    Card could not be created.
    """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
troo-0.0.9 features/add/card.feature