14 lines
310 B
Ruby
14 lines
310 B
Ruby
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
|
|
end
|
|
|
|
|