I should clean this up by moving it out of spec helper and back to this file. I probably should have reviewed the code before merging the branch.