RSpec Results

 

 

Dst
should exists
Dst when creating tasks: `<@context> <:project> task'#process_command
dispatchs command to create_task
parses description correctly
parses context correctly
parses project correctly
Dst when creating tasks: `<@context> <:project> task'#create_task
creates a new Task with given description
finds or creates context
sets task's context if specified
doesn't set tasks's context if not specified
finds or creates project
sets task's project if specified
doesn't set tasks's project if not specified
saves new task
notices that tasks have been successfuly created
Dst when toggling a task: `^<task id>'#proccess_command
dispatchs to toggle_task
parses task id correctly
Dst when toggling a task: `^<task id>'#toggle_task
toggle task
outputs an error message if task not found
Dst when listing tasks: `[<@context> <@project>] [-a]]'
finds all unfinished tasks if no filter provided
finds unfinished tasks filtered by context
finds unfinished tasks filtered by project
outputs tasks
notices if no tasks found