vidpush/spec/features/better_video_external_request_spec.rb

14 lines
310 B
Ruby
Raw Normal View History

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