FactoryGirl.define do factory :client do api_key api_secret auth_code redirect_url raw_reponse json_response access_token refresh_token end end