features/cli/man.feature in genomer-0.0.10 vs features/cli/man.feature in genomer-0.1.0
- old
+ new
@@ -16,10 +16,11 @@
Scenario: Getting the man page for a plugin
Given I run the genomer command with the arguments "init project"
And I cd to "project"
And I overwrite "Gemfile" with:
"""
+ gem 'genomer', :path => '../../../'
gem 'genomer-plugin-simple', :path => '../../../genomer-plugin-simple'
"""
When I run the genomer command with the arguments "man simple"
Then the exit status should be 0
And the output should contain "GENOMER-SIMPLE(1)"
@@ -28,10 +29,11 @@
Scenario: Getting the man page for a plugin subcommand
Given I run the genomer command with the arguments "init project"
And I cd to "project"
And I overwrite "Gemfile" with:
"""
+ gem 'genomer', :path => '../../../'
gem 'genomer-plugin-simple', :path => '../../../genomer-plugin-simple'
"""
When I run the genomer command with the arguments "man simple subcommand"
Then the exit status should be 0
And the output should contain "GENOMER-SIMPLE-SUBCOMMAND(1)"
@@ -40,10 +42,11 @@
Scenario: Trying to get a man page for an unknown plugin
Given I run the genomer command with the arguments "init project"
And I cd to "project"
And I overwrite "Gemfile" with:
"""
+ gem 'genomer', :path => '../../../'
gem 'genomer-plugin-simple', :path => '../../../genomer-plugin-simple'
"""
When I run the genomer command with the arguments "man unknown"
Then the exit status should be 1
And the output should contain:
@@ -57,9 +60,10 @@
Scenario: Trying to get a man page for an unknown subcommand
Given I run the genomer command with the arguments "init project"
And I cd to "project"
And I overwrite "Gemfile" with:
"""
+ gem 'genomer', :path => '../../../'
gem 'genomer-plugin-simple', :path => '../../../genomer-plugin-simple'
"""
When I run the genomer command with the arguments "man simple unknown"
Then the exit status should be 1
And the output should contain: