Sha256: 804756d8094d98fd0266bbb46bc1001fa98736b37e277b9e582658ddaa129845

Contents?: true

Size: 1.15 KB

Versions: 6

Compression:

Stored size: 1.15 KB

Contents

Feature: Showing comments

  @show
  Scenario: Showing comments for a card with ID
    Given a comment exists
    When I run `troo show comments 20020`
    Then the output should contain:
      """
      My Test Comment
      """

  @show
  Scenario: Showing comments for a card with ID; no comments
    Given a card exists
    When I run `troo show comments 20020`
    Then the output should contain:
      """
      No comments
      """

  @show
  Scenario: Cannot show comments; card not found
    Given the Trello API is stubbed with "400_card_by_id"
    When I run `troo show comments 400`
    Then the output should contain:
      """
      Card cannot be found.
      """

  @show
  Scenario: Showing the comments for the default card
    Given a default card exists
    And a comment exists
    When I run `troo show comments`
    Then the output should contain:
      """
      (67) My Default Card *

      @gavinlaking1:
        My Test Comment
          (Tue, Dec 17 at 22:01)
      """

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
troo-0.0.15 features/show/comment.feature
troo-0.0.14 features/show/comment.feature
troo-0.0.13 features/show/comment.feature
troo-0.0.12 features/show/comment.feature
troo-0.0.11 features/show/comment.feature
troo-0.0.10 features/show/comment.feature