Sha256: 83522d8bc54428c1346bcbe2e19bab8ed0aed6c42e654a35849d829f679feb11
Contents?: true
Size: 845 Bytes
Versions: 25
Compression:
Stored size: 845 Bytes
Contents
module WebService module Request require 'test_helper' class ReviewsTest < Test::Unit::TestCase def setup @base_url = "http://bobcatdev.library.nyu.edu" @institution = "NYU" @user_id = "N12162279" @doc_id = "nyu_aleph000062856" end def test_get_reviews request = Exlibris::Primo::WebService::Request::GetReviews.new :base_url => @base_url, :institution => @institution, :doc_id => @doc_id, :user_id => @user_id assert_request request, "getReviewsRequest", "<institution>NYU</institution>", "<docId>nyu_aleph000062856</docId>", "<userId>N12162279</userId>" VCR.use_cassette('request get reviews') do assert_nothing_raised { response = request.call } end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems