APPS-5201  cannot use ruby example code with swagger

I added spec coverage for the gem.  I also added FactoryGirl.
Merge remote-tracking branch 'origin/master' into spec_test