improve integration test of cli scripts

This commit is contained in:
Reinier Balt 2013-09-20 21:18:33 +02:00
parent 4c73e260e3
commit daef1c440b
9 changed files with 152 additions and 42 deletions

View file

@ -1,4 +1,4 @@
Feature: Create project from template
Feature: Create project from template on console
In order to be able to create a project from a template
As a user who has installed Tracks with console access
I want to run the script to add projects and actions from a template
@ -21,7 +21,7 @@ Feature: Create project from template
My first project
.My first task in this project
"""
When I execute the script
When I execute the template script
Then I should have a project called "My first project"
And I should have 1 todo in project "My first project"
@ -33,5 +33,5 @@ Feature: Create project from template
.Todo
^Dependent
"""
When I execute the script
When I execute the template script
Then the successors of "Todo" should include "Dependent"