Skip to content

Loading…

Fixing tests in Ruby 1.8 #3

Merged
merged 2 commits into from

2 participants

@tjdett

For some reason the content_negotiation VCR cassette from 1.9 won't play in for 1.8 (see #2), but a regenerated 1.8 version will play in 1.9. All tests should pass under both versions with this fix.

A .travis.yml config is also included, specifying testing for both 1.8.7 and 1.9.3. Hopefully this will make any future issues quicker to nail down.

tjdett added some commits
@tjdett tjdett Regenerating VCR cassette using Ruby 1.8.x, as the 1.9.3 version was …
…causing errors.
9f4bec7
@tjdett tjdett Adding Travis CI config.
It should provide some idea when tests are broken (and in what Ruby version) in future.
0796e68
@tjdett

@edsu Please activate the GitHub service hook for Travis CI after you merge this pull-request.

@edsu edsu merged commit 0c832b8 into edsu:master
@tjdett tjdett deleted the tjdett:ruby-1.8.x-test-fix branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 9, 2012
  1. @tjdett
  2. @tjdett

    Adding Travis CI config.

    tjdett committed
    It should provide some idea when tests are broken (and in what Ruby version) in future.
Showing with 395 additions and 191 deletions.
  1. +5 −0 .travis.yml
  2. +390 −191 test/fixtures/vcr_cassettes/content_negotiation.yml
View
5 .travis.yml
@@ -0,0 +1,5 @@
+language: ruby
+rvm:
+ - 1.8.7
+ - 1.9.3
+script: bundle exec rake test
View
581 test/fixtures/vcr_cassettes/content_negotiation.yml
@@ -1,212 +1,411 @@
----
-http_interactions:
-- request:
+---
+http_interactions:
+- request:
method: get
uri: http://www.nla.gov.au/apps/srw/search/peopleaustralia?operation=explain&version=1.2
- body:
- encoding: US-ASCII
- string: ''
- headers:
- Accept:
+ body:
+ string: ""
+ headers:
+ Accept:
- text/xml, application/xml
- User-Agent:
- - Ruby
- response:
- status:
+ response:
+ status:
code: 200
message: OK
- headers:
- Server:
- - nginx
- Date:
- - Thu, 09 Aug 2012 00:01:42 GMT
- Content-Type:
+ headers:
+ X-Cache-Lookup:
+ - MISS from proxy6.uq.edu.au:80
+ Date:
+ - Thu, 09 Aug 2012 03:00:36 GMT
+ Content-Type:
- text/xml;charset=ISO-8859-1
- X-Cache:
+ X-Cache:
- MISS from proxy6.uq.edu.au
- X-Cache-Lookup:
- - MISS from proxy6.uq.edu.au:80
- Transfer-Encoding:
- - chunked
- Via:
+ Server:
+ - nginx
+ Via:
- 1.1 proxy6.uq.edu.au:80 (squid/2.7.STABLE9)
- Connection:
+ Transfer-Encoding:
+ - chunked
+ Connection:
- close
- body:
- encoding: US-ASCII
- string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" ?> \n<?xml-stylesheet type=\"text/xsl\"
- href=\"../explainResponse.xsl\"?>\n<SRW:explainResponse xmlns:SRW=\"http://www.loc.gov/zing/srw/\">\n
- \ <SRW:version>1.1</SRW:version>\n <SRW:record>\n <SRW:recordSchema>http://explain.z3950.org/dtd/2.0/</SRW:recordSchema>\n
- \ <SRW:recordPacking>xml</SRW:recordPacking>\n <SRW:recordData>\n <explain
- authoritative=\"true\" xmlns=\"http://explain.z3950.org/dtd/2.0/\">\n <serverInfo
- protocol=\"SRW/U\">\n <host>www.nla.gov.au</host>\n <port>80</port>\n
- \ <database>apps/srw/search/peopleaustralia</database>\n </serverInfo>\n
- \ <databaseInfo>\n <title>Trove People and Organisations</title>\n
- \ <description>Records stored in the Trove People and Organisations
- repository </description>\n <author>http://trove.nla.gov.au/people</author>\n
- \ <contact>Simon Jacob (mailto:sjacob@nla.gov.au)</contact>\n <implementation
- version='1.1' indentifier='http://www.oclc.org/research/software/srw'>\n <title>OCLC
- Research SRW Server version 1.1</title>\n </implementation>\n </databaseInfo>\n
- \ <metaInfo>\n </metaInfo>\n <indexInfo>\n <set
- identifier=\"null\" name=\"pa\"/>\n <index>\n <title>pa.birthplace</title>\n
- \ <map>\n <name set=\"pa\">birthplace</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.deathdecade</title>\n
- \ <map>\n <name set=\"pa\">deathdecade</name>\n </map>\n
- \ </index>\n <set identifier=\"null\" name=\"bath\"/>\n
- \ <index>\n <title>bath.possessingInstitution</title>\n
- \ <map>\n <name set=\"bath\">possessingInstitution</name>\n
- \ </map>\n </index>\n <index>\n <title>pa.existencedate</title>\n
- \ <map>\n <name set=\"pa\">existencedate</name>\n </map>\n
- \ </index>\n <index>\n <title>bath.geographicName</title>\n
- \ <map>\n <name set=\"bath\">geographicName</name>\n
- \ </map>\n </index>\n <set identifier=\"null\"
- name=\"rec\"/>\n <index>\n <title>rec.creationDate</title>\n
- \ <map>\n <name set=\"rec\">creationDate</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.deathplace</title>\n
- \ <map>\n <name set=\"pa\">deathplace</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.firstname</title>\n
- \ <map>\n <name set=\"pa\">firstname</name>\n </map>\n
- \ </index>\n <set identifier=\"null\" name=\"dc\"/>\n <index>\n
- \ <title>dc.identifier</title>\n <map>\n <name
- set=\"dc\">identifier</name>\n </map>\n </index>\n
- \ <index>\n <title>pa.relatedresource</title>\n <map>\n
- \ <name set=\"pa\">relatedresource</name>\n </map>\n
- \ </index>\n <set identifier=\"null\" name=\"cql\"/>\n
- \ <index>\n <title>cql.anywhere</title>\n <map>\n
- \ <name set=\"cql\">anywhere</name>\n </map>\n </index>\n
- \ <index>\n <title>bath.topicalSubject</title>\n <map>\n
- \ <name set=\"bath\">topicalSubject</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.relatedresourceimprint</title>\n
- \ <map>\n <name set=\"pa\">relatedresourceimprint</name>\n
- \ </map>\n </index>\n <index>\n <title>pa.biography</title>\n
- \ <map>\n <name set=\"pa\">biography</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.relatedresourcetitle</title>\n
- \ <map>\n <name set=\"pa\">relatedresourcetitle</name>\n
- \ </map>\n </index>\n <index>\n <title>pa.gender</title>\n
- \ <map>\n <name set=\"pa\">gender</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.birthdecade</title>\n
- \ <map>\n <name set=\"pa\">birthdecade</name>\n </map>\n
- \ </index>\n <index>\n <title>rec.modificationDate</title>\n
- \ <map>\n <name set=\"rec\">modificationDate</name>\n
- \ </map>\n </index>\n <index>\n <title>pa.relatedresourcebibseries</title>\n
- \ <map>\n <name set=\"pa\">relatedresourcebibseries</name>\n
- \ </map>\n </index>\n <index>\n <title>bath.personalName</title>\n
- \ <map>\n <name set=\"bath\">personalName</name>\n
- \ </map>\n </index>\n <index>\n <title>rec.identifier</title>\n
- \ <map>\n <name set=\"rec\">identifier</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.relatedresourcename</title>\n
- \ <map>\n <name set=\"pa\">relatedresourcename</name>\n
- \ </map>\n </index>\n <index>\n <title>pa.enddate</title>\n
- \ <map>\n <name set=\"pa\">enddate</name>\n </map>\n
- \ </index>\n <index>\n <title>dc.contributor</title>\n
- \ <map>\n <name set=\"dc\">contributor</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.otherplace</title>\n
- \ <map>\n <name set=\"pa\">otherplace</name>\n </map>\n
- \ </index>\n <index>\n <title>bath.corporateName</title>\n
- \ <map>\n <name set=\"bath\">corporateName</name>\n
- \ </map>\n </index>\n <set identifier=\"null\"
- name=\"oai\"/>\n <index>\n <title>oai.datestamp</title>\n
- \ <map>\n <name set=\"oai\">datestamp</name>\n </map>\n
- \ </index>\n <index>\n <title>bath.name</title>\n
- \ <map>\n <name set=\"bath\">name</name>\n </map>\n
- \ </index>\n <index>\n <title>oai.identifier</title>\n
- \ <map>\n <name set=\"oai\">identifier</name>\n </map>\n
- \ </index>\n <index>\n <title>dc.description</title>\n
- \ <map>\n <name set=\"dc\">description</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.timestamp</title>\n
- \ <map>\n <name set=\"pa\">timestamp</name>\n </map>\n
- \ </index>\n <index>\n <title>dc.title</title>\n
- \ <map>\n <name set=\"dc\">title</name>\n </map>\n
- \ </index>\n <index>\n <title>dc.subject</title>\n
- \ <map>\n <name set=\"dc\">subject</name>\n </map>\n
- \ </index>\n <index>\n <title>cql.resultSetId</title>\n
- \ <map>\n <name set=\"cql\">resultSetId</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.heritage</title>\n
- \ <map>\n <name set=\"pa\">heritage</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.relatedresourceedition</title>\n
- \ <map>\n <name set=\"pa\">relatedresourceedition</name>\n
- \ </map>\n </index>\n <index>\n <title>pa.surname</title>\n
- \ <map>\n <name set=\"pa\">surname</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.relatedname</title>\n
- \ <map>\n <name set=\"pa\">relatedname</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.type</title>\n
- \ <map>\n <name set=\"pa\">type</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.id</title>\n
- \ <map>\n <name set=\"pa\">id</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.startdate</title>\n
- \ <map>\n <name set=\"pa\">startdate</name>\n </map>\n
- \ </index>\n <index>\n <title>cql.serverChoice</title>\n
- \ <map>\n <name set=\"cql\">serverChoice</name>\n </map>\n
- \ </index>\n <index>\n <title>dc.creator</title>\n
- \ <map>\n <name set=\"dc\">creator</name>\n </map>\n
- \ </index>\n <index>\n <title>pa.relatedresourcedescnote</title>\n
- \ <map>\n <name set=\"pa\">relatedresourcedescnote</name>\n
- \ </map>\n </index>\n <index>\n <title>oai.set</title>\n
- \ <map>\n <name set=\"oai\">set</name>\n </map>\n
- \ </index>\n </indexInfo>\n <schemaInfo>\n <schema
- sort=\"false\" retrieve=\"true\" name=\"dc\"\n identifier=\"info:srw/schema/1/dc-v1.1\"\n
- \ location=\"http://www.loc.gov/standards/sru/resources/dc-schema.xsd\">\n
- \ <title>dc: Dublin Core Elements</title>\n </schema>\n
- \ <schema sort=\"false\" retrieve=\"true\" name=\"four\"\n identifier=\"http://jefferson.village.virginia.edu/eac\"\n
- \ location=\"http://jefferson.village.virginia.edu/eac/shared/eac/eac.xsd\">\n
- \ <title>Encoded Archival Context 2004</title>\n </schema>\n
- \ <schema sort=\"false\" retrieve=\"true\" name=\"eac\"\n identifier=\"urn:isbn:1-931666-33-4\"\n
- \ location=\"http://eac.staatsbibliothek-berlin.de/schema/cpf.xsd\">\n
- \ <title>Encoded Archival Context -Corporate Bodies, Persons, And
- Families</title>\n </schema>\n <schema sort=\"false\"
- retrieve=\"true\" name=\"rif\"\n identifier=\"http://ands.org.au/standards/rif-cs/registryObjects\"\n
- \ location=\"http://services.ands.org.au/documentation/rifcs/schema/registryObjects.xsd\">\n
- \ <title>ANDS Registry Interchange Format - Collections and Services
- - Party</title>\n </schema>\n <schema sort=\"false\" retrieve=\"true\"
- name=\"atom\"\n identifier=\"http://www.w3.org/2005/Atom\"\n
- \ location=\"http://www.kbcafe.com/rss/atom.xsd.xml\">\n <title>Atom
- Publishing Protocol</title>\n </schema>\n </schemaInfo>\n
- \ <configInfo>\n <default type=\"maximumRecords\">100</default>\n
- \ <default type=\"numberOfRecords\">10</default>\n <default
- type=\"retrieveSchema\">info:srw/schema/1/dc-v1.1</default>\n </configInfo>\n
- \ </explain>\n </SRW:recordData>\n </SRW:record>\n </SRW:explainResponse>\n"
+ body:
+ string: |
+ <?xml version="1.0" encoding="UTF-8" ?>
+ <?xml-stylesheet type="text/xsl" href="../explainResponse.xsl"?>
+ <SRW:explainResponse xmlns:SRW="http://www.loc.gov/zing/srw/">
+ <SRW:version>1.1</SRW:version>
+ <SRW:record>
+ <SRW:recordSchema>http://explain.z3950.org/dtd/2.0/</SRW:recordSchema>
+ <SRW:recordPacking>xml</SRW:recordPacking>
+ <SRW:recordData>
+ <explain authoritative="true" xmlns="http://explain.z3950.org/dtd/2.0/">
+ <serverInfo protocol="SRW/U">
+ <host>www.nla.gov.au</host>
+ <port>80</port>
+ <database>apps/srw/search/peopleaustralia</database>
+ </serverInfo>
+ <databaseInfo>
+ <title>Trove People and Organisations</title>
+ <description>Records stored in the Trove People and Organisations repository </description>
+ <author>http://trove.nla.gov.au/people</author>
+ <contact>Simon Jacob (mailto:sjacob@nla.gov.au)</contact>
+ <implementation version='1.1' indentifier='http://www.oclc.org/research/software/srw'>
+ <title>OCLC Research SRW Server version 1.1</title>
+ </implementation>
+ </databaseInfo>
+ <metaInfo>
+ </metaInfo>
+ <indexInfo>
+ <set identifier="null" name="pa"/>
+ <index>
+ <title>pa.birthplace</title>
+ <map>
+ <name set="pa">birthplace</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.deathdecade</title>
+ <map>
+ <name set="pa">deathdecade</name>
+ </map>
+ </index>
+ <set identifier="null" name="bath"/>
+ <index>
+ <title>bath.possessingInstitution</title>
+ <map>
+ <name set="bath">possessingInstitution</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.existencedate</title>
+ <map>
+ <name set="pa">existencedate</name>
+ </map>
+ </index>
+ <index>
+ <title>bath.geographicName</title>
+ <map>
+ <name set="bath">geographicName</name>
+ </map>
+ </index>
+ <set identifier="null" name="rec"/>
+ <index>
+ <title>rec.creationDate</title>
+ <map>
+ <name set="rec">creationDate</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.deathplace</title>
+ <map>
+ <name set="pa">deathplace</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.firstname</title>
+ <map>
+ <name set="pa">firstname</name>
+ </map>
+ </index>
+ <set identifier="null" name="dc"/>
+ <index>
+ <title>dc.identifier</title>
+ <map>
+ <name set="dc">identifier</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.relatedresource</title>
+ <map>
+ <name set="pa">relatedresource</name>
+ </map>
+ </index>
+ <set identifier="null" name="cql"/>
+ <index>
+ <title>cql.anywhere</title>
+ <map>
+ <name set="cql">anywhere</name>
+ </map>
+ </index>
+ <index>
+ <title>bath.topicalSubject</title>
+ <map>
+ <name set="bath">topicalSubject</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.relatedresourceimprint</title>
+ <map>
+ <name set="pa">relatedresourceimprint</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.biography</title>
+ <map>
+ <name set="pa">biography</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.relatedresourcetitle</title>
+ <map>
+ <name set="pa">relatedresourcetitle</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.gender</title>
+ <map>
+ <name set="pa">gender</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.birthdecade</title>
+ <map>
+ <name set="pa">birthdecade</name>
+ </map>
+ </index>
+ <index>
+ <title>rec.modificationDate</title>
+ <map>
+ <name set="rec">modificationDate</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.relatedresourcebibseries</title>
+ <map>
+ <name set="pa">relatedresourcebibseries</name>
+ </map>
+ </index>
+ <index>
+ <title>bath.personalName</title>
+ <map>
+ <name set="bath">personalName</name>
+ </map>
+ </index>
+ <index>
+ <title>rec.identifier</title>
+ <map>
+ <name set="rec">identifier</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.relatedresourcename</title>
+ <map>
+ <name set="pa">relatedresourcename</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.enddate</title>
+ <map>
+ <name set="pa">enddate</name>
+ </map>
+ </index>
+ <index>
+ <title>dc.contributor</title>
+ <map>
+ <name set="dc">contributor</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.otherplace</title>
+ <map>
+ <name set="pa">otherplace</name>
+ </map>
+ </index>
+ <index>
+ <title>bath.corporateName</title>
+ <map>
+ <name set="bath">corporateName</name>
+ </map>
+ </index>
+ <set identifier="null" name="oai"/>
+ <index>
+ <title>oai.datestamp</title>
+ <map>
+ <name set="oai">datestamp</name>
+ </map>
+ </index>
+ <index>
+ <title>bath.name</title>
+ <map>
+ <name set="bath">name</name>
+ </map>
+ </index>
+ <index>
+ <title>oai.identifier</title>
+ <map>
+ <name set="oai">identifier</name>
+ </map>
+ </index>
+ <index>
+ <title>dc.description</title>
+ <map>
+ <name set="dc">description</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.timestamp</title>
+ <map>
+ <name set="pa">timestamp</name>
+ </map>
+ </index>
+ <index>
+ <title>dc.title</title>
+ <map>
+ <name set="dc">title</name>
+ </map>
+ </index>
+ <index>
+ <title>dc.subject</title>
+ <map>
+ <name set="dc">subject</name>
+ </map>
+ </index>
+ <index>
+ <title>cql.resultSetId</title>
+ <map>
+ <name set="cql">resultSetId</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.heritage</title>
+ <map>
+ <name set="pa">heritage</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.relatedresourceedition</title>
+ <map>
+ <name set="pa">relatedresourceedition</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.surname</title>
+ <map>
+ <name set="pa">surname</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.relatedname</title>
+ <map>
+ <name set="pa">relatedname</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.type</title>
+ <map>
+ <name set="pa">type</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.id</title>
+ <map>
+ <name set="pa">id</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.startdate</title>
+ <map>
+ <name set="pa">startdate</name>
+ </map>
+ </index>
+ <index>
+ <title>cql.serverChoice</title>
+ <map>
+ <name set="cql">serverChoice</name>
+ </map>
+ </index>
+ <index>
+ <title>dc.creator</title>
+ <map>
+ <name set="dc">creator</name>
+ </map>
+ </index>
+ <index>
+ <title>pa.relatedresourcedescnote</title>
+ <map>
+ <name set="pa">relatedresourcedescnote</name>
+ </map>
+ </index>
+ <index>
+ <title>oai.set</title>
+ <map>
+ <name set="oai">set</name>
+ </map>
+ </index>
+ </indexInfo>
+ <schemaInfo>
+ <schema sort="false" retrieve="true" name="dc"
+ identifier="info:srw/schema/1/dc-v1.1"
+ location="http://www.loc.gov/standards/sru/resources/dc-schema.xsd">
+ <title>dc: Dublin Core Elements</title>
+ </schema>
+ <schema sort="false" retrieve="true" name="four"
+ identifier="http://jefferson.village.virginia.edu/eac"
+ location="http://jefferson.village.virginia.edu/eac/shared/eac/eac.xsd">
+ <title>Encoded Archival Context 2004</title>
+ </schema>
+ <schema sort="false" retrieve="true" name="eac"
+ identifier="urn:isbn:1-931666-33-4"
+ location="http://eac.staatsbibliothek-berlin.de/schema/cpf.xsd">
+ <title>Encoded Archival Context -Corporate Bodies, Persons, And Families</title>
+ </schema>
+ <schema sort="false" retrieve="true" name="rif"
+ identifier="http://ands.org.au/standards/rif-cs/registryObjects"
+ location="http://services.ands.org.au/documentation/rifcs/schema/registryObjects.xsd">
+ <title>ANDS Registry Interchange Format - Collections and Services - Party</title>
+ </schema>
+ <schema sort="false" retrieve="true" name="atom"
+ identifier="http://www.w3.org/2005/Atom"
+ location="http://www.kbcafe.com/rss/atom.xsd.xml">
+ <title>Atom Publishing Protocol</title>
+ </schema>
+ </schemaInfo>
+ <configInfo>
+ <default type="maximumRecords">100</default>
+ <default type="numberOfRecords">10</default>
+ <default type="retrieveSchema">info:srw/schema/1/dc-v1.1</default>
+ </configInfo>
+ </explain>
+ </SRW:recordData>
+ </SRW:record>
+ </SRW:explainResponse>
+
http_version:
- recorded_at: Thu, 09 Aug 2012 00:01:42 GMT
-- request:
+ recorded_at: Thu, 09 Aug 2012 03:00:36 GMT
+- request:
method: get
uri: http://www.nla.gov.au/apps/srw/search/peopleaustralia?maximumRecords=10&operation=searchRetrieve&query=pa.surname%20any%20twain&recordSchema=dc&version=1.1
- body:
- encoding: US-ASCII
- string: ''
- headers:
- Accept:
+ body:
+ string: ""
+ headers:
+ Accept:
- text/xml, application/xml
- User-Agent:
- - Ruby
- response:
- status:
+ response:
+ status:
code: 200
message: OK
- headers:
- Server:
- - nginx
- Date:
- - Thu, 09 Aug 2012 00:01:42 GMT
- Content-Type:
+ headers:
+ X-Cache-Lookup:
+ - MISS from proxy6.uq.edu.au:80
+ Date:
+ - Thu, 09 Aug 2012 03:00:36 GMT
+ Content-Type:
- text/xml;charset=UTF-8
- Content-Length:
- - '865'
- X-Cache:
+ X-Cache:
- MISS from proxy6.uq.edu.au
- X-Cache-Lookup:
- - MISS from proxy6.uq.edu.au:80
- Via:
+ Server:
+ - nginx
+ Via:
- 1.1 proxy6.uq.edu.au:80 (squid/2.7.STABLE9)
- Connection:
+ Content-Length:
+ - "865"
+ Connection:
- close
- body:
- encoding: US-ASCII
- string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\" ?> \n<searchRetrieveResponse
- xmlns=\"http://www.loc.gov/zing/srw/\"><version>1.1</version><numberOfRecords>0</numberOfRecords><echoedSearchRetrieveRequest
- xmlns:ns1=\"http://www.loc.gov/zing/srw/\"><version>1.1</version><query>pa.surname
- any twain</query><xQuery><ns2:searchClause xmlns:ns2=\"http://www.loc.gov/zing/cql/xcql/\"><ns2:index>pa.surname</ns2:index><ns2:relation><ns2:value>any</ns2:value></ns2:relation><ns2:term>twain</ns2:term></ns2:searchClause></xQuery><maximumRecords>10</maximumRecords><recordSchema>dc</recordSchema></echoedSearchRetrieveRequest><diagnostics
- xmlns:ns3=\"http://www.loc.gov/zing/srw/\"><ns4:diagnostic xmlns:ns4=\"http://www.loc.gov/zing/srw/diagnostic/\"><ns4:uri>info:srw/diagnostic/1/66</ns4:uri><ns4:details>dc
- is not supported.</ns4:details></ns4:diagnostic></diagnostics></searchRetrieveResponse>"
+ body:
+ string: |-
+ <?xml version="1.0" encoding="UTF-8" ?>
+ <searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/"><version>1.1</version><numberOfRecords>0</numberOfRecords><echoedSearchRetrieveRequest xmlns:ns1="http://www.loc.gov/zing/srw/"><version>1.1</version><query>pa.surname any twain</query><xQuery><ns2:searchClause xmlns:ns2="http://www.loc.gov/zing/cql/xcql/"><ns2:index>pa.surname</ns2:index><ns2:relation><ns2:value>any</ns2:value></ns2:relation><ns2:term>twain</ns2:term></ns2:searchClause></xQuery><maximumRecords>10</maximumRecords><recordSchema>dc</recordSchema></echoedSearchRetrieveRequest><diagnostics xmlns:ns3="http://www.loc.gov/zing/srw/"><ns4:diagnostic xmlns:ns4="http://www.loc.gov/zing/srw/diagnostic/"><ns4:uri>info:srw/diagnostic/1/66</ns4:uri><ns4:details>dc is not supported.</ns4:details></ns4:diagnostic></diagnostics></searchRetrieveResponse>
http_version:
- recorded_at: Thu, 09 Aug 2012 00:01:42 GMT
+ recorded_at: Thu, 09 Aug 2012 03:00:36 GMT
recorded_with: VCR 2.2.4
Something went wrong with that request. Please try again.