features/cli/man.feature in genomer-0.0.6 vs features/cli/man.feature in genomer-0.0.7

- old
+ new

@@ -15,11 +15,11 @@ @disable-bundler 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 append to "Gemfile" with: + And I overwrite "Gemfile" with: """ 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 @@ -27,11 +27,11 @@ @disable-bundler 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 append to "Gemfile" with: + And I overwrite "Gemfile" with: """ 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 @@ -39,11 +39,11 @@ @disable-bundler 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 append to "Gemfile" with: + And I overwrite "Gemfile" with: """ 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 @@ -56,10 +56,10 @@ @disable-bundler 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 append to "Gemfile" with: + And I overwrite "Gemfile" with: """ 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