features/generate_project.feature in bddgen-0.1.0 vs features/generate_project.feature in bddgen-0.2.0
- old
+ new
@@ -9,10 +9,11 @@
| myproject |
| .gitignore |
| CHANGELOG |
| Gemfile |
| lib/myproject.rb |
+ | lib/version.rb |
| Rakefile |
| README.markdown |
And the following files should exist:
| myproject/.gitignore |
| myproject/CHANGELOG |
@@ -22,9 +23,16 @@
| myproject/README.markdown |
And a directory named "myproject/lib/myproject" should exist
And the file "myproject/lib/myproject.rb" should contain exactly:
"""
module Myproject
+ end
+
+ """
+ And the file "myproject/lib/version.rb" should contain exactly:
+ """
+ module Myproject
+ VERSION = "0.0.1"
end
"""
And the exit status should be 0