factory_girl gem reference added
posts factory added
FactoryGirl methods included
post controller test using factory_girl