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