Git testing in Rails Class