Effectively Testing Services - Burlington Ruby Conf

How to test external services in a ruby application

7 Aug 2014 ... ... '.user_link' do it 'retrieves user link' do stub_request(:get, 'https://graph. facebook.com/arjun'). to_return( status: 200, headers: {}, body: '{ "id": ...

Lee mas