factory:micropost added, spec added,dependency added,deafault scope descending, factory already defined error: commenting spec->factories->micropost and keeping defined factory:micropost on spec->factories solved this problem