<p>I recently received an email from my girlfriend that spamassassin marked as spam, mostly because spamassassin detected a tracker ID... except there wasn't one.  I'd like to know what triggered it, so that I can report a sensible bug.</p>

It looks as if new_task_attributes= is expecting an array of hashes, but you're passing it a hash. Try this:
```
```
def test_adding_task_to_project
  p = Project.new
  new_tasks_attributes = [{ "name" => "paint fence"}]
  p.new_tasks_attributes = (new_tasks_attributes)
  p.save
  assert p.tasks.length == 1
end
```
```