Ruby on rails - testing git