Specs may fail on repeated runs unless you grab this commit
armandofox opened this issue · comments
Armando Fox commented
git cherry-pick c1cdfa0
I changed the validations for Condition and Learner to require them to have unique names (at least for now, since we don't have a notion of Conditions being "owned" by any particular instructor)
This requires changes to the FactoryGirl factories to give sequence-numbered names to guarantee uniqueness. The above commit does this for you