features/generate_project.feature in bddgen-0.2.0 vs features/generate_project.feature in bddgen-0.2.1

- old
+ new

@@ -4,18 +4,18 @@ I want to generate a new ruby project with all the boilerplate I need Scenario: Run `bddgen project myproject` When I run "bddgen project myproject" Then the output should say the following files were created: - | myproject | - | .gitignore | - | CHANGELOG | - | Gemfile | - | lib/myproject.rb | - | lib/version.rb | - | Rakefile | - | README.markdown | + | myproject | + | .gitignore | + | CHANGELOG | + | Gemfile | + | lib/myproject.rb | + | lib/myproject/version.rb | + | Rakefile | + | README.markdown | And the following files should exist: | myproject/.gitignore | | myproject/CHANGELOG | | myproject/Gemfile | | myproject/lib/myproject.rb | @@ -26,11 +26,11 @@ """ module Myproject end """ - And the file "myproject/lib/version.rb" should contain exactly: + And the file "myproject/lib/myproject/version.rb" should contain exactly: """ module Myproject VERSION = "0.0.1" end @@ -68,15 +68,15 @@ When I run "bddgen project myproject --cucumber --rspec --yard" Then the output should say the following files were created: | features/step_definitions/myproject_steps.rb | | features/support/env.rb | | features/support/helpers.rb | - | spec/spec_helper.rb | + | spec/spec_helper.rb | And the following files should exist: | myproject/features/step_definitions/myproject_steps.rb | | myproject/features/support/env.rb | | myproject/features/support/helpers.rb | - | myproject/spec/spec_helper.rb | + | myproject/spec/spec_helper.rb | And the file "myproject/Gemfile" should contain "gem 'cucumber'" And the file "myproject/Gemfile" should contain "gem 'rspec'" And the file "myproject/Gemfile" should contain "gem 'yard'" And the file "myproject/Rakefile" should contain the cucumber tasks And the file "myproject/Rakefile" should contain the rspec tasks