Permalink
Browse files

Update cucumber features with authors scenarios.

  • Loading branch information...
1 parent d154a4d commit c0626e3bf57fc70310cdf90b5a587a15798eb641 @blaix committed Mar 2, 2013
Showing with 7 additions and 2 deletions.
  1. +7 −2 features/generate_license.feature
@@ -3,15 +3,20 @@ Feature: Generate a License
As an open source developer
I want to generate a LICENSE file in my project
- Scenario: Run `licgen bsd`
+ Scenario: Run without authors
When I run `licgen bsd` interactively
And I type "Justin Blake"
And I type "Hentzia"
Then a file named "LICENSE" should exist
And the file "LICENSE" should contain a copyright notice for "Justin Blake"
And the file "LICENSE" should contain "Neither the name of Hentzia nor the names of its"
- # TODO: add a couple more scenarios when we have more templates
+ Scenario: Run with authors
+ When I run `licgen bsd "James Pearson"` interactively
+ And I type "Hentzia"
+ Then a file named "LICENSE" should exist
+ And the file "LICENSE" should contain a copyright notice for "James Pearson"
+ And the file "LICENSE" should contain "Neither the name of Hentzia nor the names of its"
@wip
Scenario: Bad template name

0 comments on commit c0626e3

Please sign in to comment.