features/generate_yard.feature in bddgen-0.2.1 vs features/generate_yard.feature in bddgen-0.3.0
- old
+ new
@@ -20,11 +20,10 @@
gem 'yard'
"""
And the file "Rakefile" should contain the bundler setup
And the file "Rakefile" should contain the yard task
- And the exit status should be 0
Scenario: Run `bddgen yard` in a project with an existing .gitignore
Given a file named ".gitignore" with:
"""
pkg/*
@@ -52,11 +51,10 @@
source 'http://custom.com'
gem 'special'
gem 'yard'
"""
- And the exit status should be 0
Scenario: Run `bddgen yard` in a project with an existing Rakefile
Given a file named "Rakefile" with:
"""
require 'custom'
@@ -64,6 +62,5 @@
"""
When I run "bddgen yard"
Then the file "Rakefile" should contain "require 'custom'"
And the file "Rakefile" should contain "require 'special'"
And the file "Rakefile" should contain the yard task
- And the exit status should be 0