features/newgem_cli.feature in newgem-1.5.0 vs features/newgem_cli.feature in newgem-1.5.1
- old
+ new
@@ -16,13 +16,12 @@
And does not invoke generator "install_cucumber"
And file "config/website.yml" is not created
And I should see
"""
create
- create lib
- create script
create lib/my_project
+ create script
create History.txt
create Rakefile
create README.rdoc
create PostInstall.txt
create lib/my_project.rb
@@ -112,6 +111,17 @@
And Rakefile can display tasks successfully
Scenario: Run newgem and show current version number
When newgem is executed only with options "--version"
Then shows version number
+
+ Scenario: Display help
+ When newgem is executed only with options "--help"
+ Then I should see
+ """
+ Usage: newgem
+ """
+ But I should not see
+ """
+ rubigen/options.rb
+ """
\ No newline at end of file