features/getting_help.feature in shuhari-0.1.0 vs features/getting_help.feature in shuhari-0.1.1

- old
+ new

@@ -2,16 +2,29 @@ Scenario: General help When I run `shuhari help` Then the output should contain: """ - Tasks: - shuhari empty # Restart the Kata with empty mind and project - shuhari help [TASK] # Describe available tasks or one specific task - shuhari new [NAME] # Create a new Kata project + Commands: + shuhari help [COMMAND] # Describe available commands or one specific command + shuhari new [NAME] # Create a new Kata project """ + Scenario: General help inside a project + Given a file named "shuhari.yml" with: + """ + project_name: FizzBuzz + test_framework: rspec + """ + When I run `shuhari help` + Then the output should contain: + """ + Commands: + shuhari empty # Restart the Kata with empty mind and project + shuhari help [COMMAND] # Describe available commands or one specific command + """ + Scenario: Help about the "new" task When I run `shuhari help new` Then the output should contain: """ Usage: @@ -29,9 +42,14 @@ Create a new Kata project """ Scenario: Help about the "empty" task + Given a file named "shuhari.yml" with: + """ + project_name: FizzBuzz + test_framework: rspec + """ When I run `shuhari help empty` Then the output should contain: """ Usage: shuhari empty