Skip to content

Commit

Permalink
add acceptance test for 'librarian-puppet init'
Browse files Browse the repository at this point in the history
  • Loading branch information
aussielunix committed Aug 4, 2012
1 parent 6ca613b commit 88c27e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions features/init.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Feature: init subcommand should generate a Puppetfile
In order to start using librarian-puppet in a project
A project will need a Puppetfile.
If a user runs "librarian-puppet init"
Then the exit status should be 0
And a file named "Puppetfile" should exist


Scenario: init subcommand should generate a Puppetfile
When I run `librarian-puppet init`
Then the exit status should be 0
Then a file named "Puppetfile" should exist

0 comments on commit 88c27e9

Please sign in to comment.