features/generate_cucumber.feature in bddgen-0.2.1 vs features/generate_cucumber.feature in bddgen-0.3.0
- old
+ new
@@ -31,11 +31,10 @@
gem 'cucumber'
"""
And the file "Rakefile" should contain the bundler setup
And the file "Rakefile" should contain the cucumber tasks
- And the exit status should be 0
Scenario: Run `bddgen cucumber` in a project with an existing Gemfile
Given a current working directory named "myproject"
And a file named "Gemfile" with:
"""
@@ -48,11 +47,10 @@
source 'http://custom.com'
gem 'special'
gem 'cucumber'
"""
- And the exit status should be 0
Scenario: Run `bddgen cucumber` in a project with an existing Rakefile
Given a current working directory named "myproject"
And a file named "Rakefile" with:
"""
@@ -61,6 +59,5 @@
"""
When I run "bddgen cucumber"
Then the file "Rakefile" should contain "require 'custom'"
And the file "Rakefile" should contain "require 'special'"
And the file "Rakefile" should contain the cucumber tasks
- And the exit status should be 0