features/generator/generators.feature in pickle-0.2.11 vs features/generator/generators.feature in pickle-0.2.12
- old
+ new
@@ -4,37 +4,37 @@
As a dev
I want to be able to generate steps
Scenario: script/generate pickle on fresh cuke install
Given cucumber has been freshly generated
- When I run "script/generate pickle"
+ When I run "script/generate pickle -f"
Then the file features/support/pickle.rb should exist
And the file features/support/pickle.rb should match /require 'pickle\/world'/
And the file features/step_definitions/pickle_steps.rb should be identical to the local step_definitions/pickle_steps.rb
Scenario: script/generate pickle path on fresh cuke install
Given cucumber has been freshly generated
- When I run "script/generate pickle path"
+ When I run "script/generate pickle path -f"
Then the file features/support/pickle.rb should exist
And the file features/support/pickle.rb should match /require 'pickle\/world'/
And the file features/support/pickle.rb should match /require 'pickle\/path\/world'/
And the file features/step_definitions/pickle_steps.rb should be identical to the local step_definitions/pickle_steps.rb
And the file features/support/paths.rb should be identical to the local support/paths.rb
Scenario: script/generate pickle email on fresh cuke install
Given cucumber has been freshly generated
- When I run "script/generate pickle email"
+ When I run "script/generate pickle email -f"
Then the file features/support/pickle.rb should exist
And the file features/support/pickle.rb should match /require 'pickle\/world'/
And the file features/support/pickle.rb should match /require 'pickle\/email\/world'/
And the file features/step_definitions/pickle_steps.rb should be identical to the local step_definitions/pickle_steps.rb
And the file features/step_definitions/email_steps.rb should be identical to the local step_definitions/email_steps.rb
And the file features/support/email.rb should be identical to the local support/email.rb
Scenario: script/generate pickle path email on fresh cuke install
Given cucumber has been freshly generated
- When I run "script/generate pickle path email"
+ When I run "script/generate pickle path email -f"
Then the file features/support/pickle.rb should exist
And the file features/support/pickle.rb should be identical to the local support/pickle.rb
And the file features/support/pickle.rb should match /require 'pickle\/world'/
And the file features/support/pickle.rb should match /require 'pickle\/path\/world'/
And the file features/support/pickle.rb should match /require 'pickle\/email\/world'/
@@ -44,10 +44,10 @@
And the file features/support/email.rb should be identical to the local support/email.rb
Scenario: regenerating pickle
Given cucumber has been freshly generated
And pickle path email has been freshly generated
- When I run "script/generate pickle path email"
+ When I run "script/generate pickle path email -f"
Then the file features/support/pickle.rb should match /require 'pickle\/world'/
And the file features/support/pickle.rb should match /require 'pickle\/path\/world'/
And the file features/support/pickle.rb should match /require 'pickle\/email\/world'/
And the file features/step_definitions/pickle_steps.rb should be identical to the local step_definitions/pickle_steps.rb
And the file features/support/paths.rb should be identical to the local support/paths.rb