cyclestreets/toolkit — comment on commit 7cf8cbda143273b0dbac1f35f367d936c34b922d
File: spec/controllers/issues_controller_spec.rb line 7
By smsm1:

After speaking with someone at work on this problem, we need to manually fix the relationship between the group and the group profile so that it will be correct in both directions, rather than missing in one, when the controller code is run.

Seems that http://stackoverflow.com/questions/3648699/factory-girl-has-one-relation-with-validates-presence-of has the answer.