rails new
set up rspec-rails
bundle and install rspec
generate Task model
generate rspec model test
first failing test for Task model
connect sqlite database for persistence
generate migration add title to tasks
creates title column in tasks table
migrate table with title column
reworked test to conform to Rails standards
next failing test to validate presence of title
include shoulda matchers for validation tests
requires a title for a task to persist
ensures tasks are persisting upon creation
next failing test: completed method
generate add completed column to tasks table
add completed column to tasks table
checks both complete and incomplete tasks
generate task controller with complete and uncomplete routes