Sha256: 680f84b1b90ef468fefe1ab840cbd62bac4d06b91299d4d70ca320739b4874ad

Contents?: true

Size: 762 Bytes

Versions: 25

Compression:

Stored size: 762 Bytes

Contents

module WebService
  module Request
    require 'test_helper'
    class EshelfTest < 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_eshelf
        request = Exlibris::Primo::WebService::Request::GetEshelf.new :base_url => @base_url,
          :institution => @institution, :user_id => @user_id
        assert_request request, "getEshelfRequest",
          "<institution>NYU</institution>",
          "<userId>N12162279</userId>"
        VCR.use_cassette('request get eshelf') do
          assert_nothing_raised {
            request.call
          }
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
exlibris-primo-2.1.1 test/web_service/request/eshelf_test.rb
exlibris-primo-2.1.0 test/web_service/request/eshelf_test.rb
exlibris-primo-2.0.0 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.9 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.8 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.7 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.6 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.5 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.4 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.3 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.2 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.1 test/web_service/request/eshelf_test.rb
exlibris-primo-1.1.0 test/web_service/request/eshelf_test.rb
exlibris-primo-1.0.11 test/web_service/request/eshelf_test.rb
exlibris-primo-1.0.10 test/web_service/request/eshelf_test.rb
exlibris-primo-1.0.9 test/web_service/request/eshelf_test.rb
exlibris-primo-1.0.8 test/web_service/request/eshelf_test.rb
exlibris-primo-1.0.7 test/web_service/request/eshelf_test.rb
exlibris-primo-1.0.6 test/web_service/request/eshelf_test.rb
exlibris-primo-1.0.5 test/web_service/request/eshelf_test.rb