Sha256: c54eb3680e23d20d25a9f3d493a19ef4697ecf8a4325a40bb424c38aefa635a9

Contents?: true

Size: 805 Bytes

Versions: 6

Compression:

Stored size: 805 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 20040 "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

6 entries across 6 versions & 1 rubygems

Version Path
troo-0.0.15 features/add/card.feature
troo-0.0.14 features/add/card.feature
troo-0.0.13 features/add/card.feature
troo-0.0.12 features/add/card.feature
troo-0.0.11 features/add/card.feature
troo-0.0.10 features/add/card.feature