features/tally.feature in usaidwat-1.3.0 vs features/tally.feature in usaidwat-1.4.0

- old
+ new

@@ -61,19 +61,21 @@ """ Scenario: Search for a comment when tallying Given the Reddit service returns comments for the user "mipadi" When I run `usaidwat tally --grep='Heisenbug' mipadi` - Then it should fail with: + Then the exit status should not be 0 + And stderr should contain: """ invalid option: --grep=Heisenbug """ Scenario: Search for a comment when sorting Given the Reddit service returns comments for the user "mipadi" When I run `usaidwat tally -c --grep='Heisenbug' mipadi` - Then it should fail with: + Then the exit status should not be 0 + And stderr should contain: """ invalid option: --grep=Heisenbug """ Scenario: Sort comments when a user does not exist @@ -85,33 +87,37 @@ """ Scenario: Tally comments with subreddit Given the Reddit service returns comments for the user "mipadi" When I run `usaidwat tally mipadi AskReddit` - Then it should fail with: + Then the exit status should not be 0 + And stderr should contain exactly: """ You cannot specify a subreddit when tallying comments """ Scenario: Sort comments with subreddit Given the Reddit service returns comments for the user "mipadi" When I run `usaidwat tally -c mipadi AskReddit` - Then it should fail with: + Then the exit status should not be 0 + And stderr should contain exactly: """ You cannot specify a subreddit when tallying comments """ Scenario: Pass no arguments when tallying Given the Reddit service returns comments for the user "mipadi" When I run `usaidwat tally` - Then it should fail with: + Then the exit status should not be 0 + And stderr should contain exactly: """ You must specify a username """ Scenario: Pass no arguments when sorting Given the Reddit service returns comments for the user "mipadi" When I run `usaidwat tally -c` - Then it should fail with: + Then the exit status should not be 0 + And stderr should contain exactly: """ You must specify a username """