Sha256: 61555fee863bae34115a5b6f4cf7fdbbedf6eccba3645e995efa3bb947c2ea44

Contents?: true

Size: 354 Bytes

Versions: 20

Compression:

Stored size: 354 Bytes

Contents

require "helper"
require "minitest/autorun"

class TestHoldingsTestCase < HoldingsTestCase

  def test_loading_fixtures
    fixture = load_fixture("holdings_7784963.xml")
    assert_kind_of Collection, fixture
    assert_kind_of Nokogiri::XML::Document, fixture.xml
    assert_raises(Errno::ENOENT) { load_fixture("not_a_real.file_name") }
  end

  
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
voyager_api-0.3.11 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.10 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.9 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.8 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.7 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.6 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.5 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.4 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.3 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.2 test/holdings/test_holdings_test_case.rb
voyager_api-0.2.5 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.1 test/holdings/test_holdings_test_case.rb
voyager_api-0.3.0 test/holdings/test_holdings_test_case.rb
voyager_api-0.2.4 test/holdings/test_holdings_test_case.rb
voyager_api-0.2.3 test/holdings/test_holdings_test_case.rb
voyager_api-0.2.2 test/holdings/test_holdings_test_case.rb
voyager_api-0.2.0 test/holdings/test_holdings_test_case.rb
voyager_api-0.1.2 test/holdings/test_holdings_test_case.rb
voyager_api-0.1.1 test/holdings/test_holdings_test_case.rb
voyager_api-0.1.0 test/holdings/test_holdings_test_case.rb