2014-05-06 15:13:58 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
require 'json'
|
|
|
|
|
|
|
|
feature 'External request' do
|
|
|
|
it 'queries FactoryGirl contributors on Github' do
|
|
|
|
uri = URI('http://servicestest.bettervideo.com/orders/MDS.OrdersWS.svc/addVideo')
|
|
|
|
|
|
|
|
response = JSON.parse(Net::HTTP.get(uri))
|
|
|
|
expect(response['success']).to eq(true)
|
|
|
|
end
|
2014-05-06 16:20:19 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|