added pseudo-code to tasks_controller_spec.rb