refactors activity model rspecs