features/add/comment.feature in troo-0.0.8 vs features/add/comment.feature in troo-0.0.9

- old
+ new

@@ -1,21 +1,21 @@ Feature: Adding content to Trello Background: Given a card exists - @pending @failing @add + @add Scenario: Add a comment - Given the Trello API is stubbed with "add_comment_success" - When I run `troo add comment 69 ""` - Then the output should contain "" + Given the Trello API is stubbed with "200_create_comment" + When I run `troo add comment 200 "My Cucumber Comment"` + Then the output should contain: + """ + New comment created. + """ - @pending @failing @add - Scenario: Add a comment, comment not provided - Given the Trello API is stubbed with "add_comment_interactive_success" - When I run `troo add comment` interactively - And I type "My New Exciting Comment" - Then the output should contain "" - - @pending @failing @add + @add Scenario: Cannot add a comment as card not found - When I run `troo add comment 69 ""` - Then the output should contain "" + Given the Trello API is stubbed with "400_create_comment" + When I run `troo add comment 400 "My Cucumber Comment"` + Then the output should contain: + """ + Comment could not be created. + """