Goldberg

Lightweight Continuous Integration in Ruby

pox_paginate (1.9.2-p180) passed

Using /home/goldberg/.rvm/gems/ruby-1.9.2-p180 with gemset goldberg-pox_paginate
The Gemfile's dependencies are satisfied
/home/goldberg/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec spec/pox_paginate/active_support/core_hash_ext_spec.rb spec/pox_paginate/active_resource/xml_format_spec.rb spec/pox_paginate/will_paginate/collection_extensions_spec.rb spec/pox_paginate/xml_mini_spec.rb
Building on Ruby 1.9.2, 2011-02-18, x86_64-linux
==  CreateOogas: migrating ====================================================
-- create_table(:oogas)
   -> 0.0012s
==  CreateOogas: migrated (0.0013s) ===========================================


Hash
  should from_xml ignores any root attributes other than type

PoxPaginate::ActiveResource::XmlFormat
  using Nokogiri
    should create a RemoteCollection after parsing paginated array
    should accept empty response
  using REXML
    should create a RemoteCollection after parsing paginated array
    should accept empty response
  using LibXML
    should create a RemoteCollection after parsing paginated array
    should accept empty response

XmlSerializer Extensions
  should serialize to xml with root node attributes containing pagination metadata
  should have rails patched to allow deserialisation of tags with more than one attribute

PoxPaginate::XmlMini
  using Nokogiri
    should be using the Nokogiri backend
    should decorate backend= to extend the XmlMini_Nokogiri module
    should parse xml with header attributes into a hash
    should know how to extract root node attributes
    should not add root node attributes if there are none
  using REXML
    should be using the REXML backend
    should decorate backend= to extend the XmlMini_REXML module
    should parse xml with header attributes into a hash
    should know how to extract root node attributes
    should not add root node attributes if there are none
  using LibXML
    should be using the LibXML backend
    should decorate backend= to extend the XmlMini_LibXML module
    should parse xml with header attributes into a hash
    should know how to extract root node attributes
    should not add root node attributes if there are none

Finished in 1.41 seconds
24 examples, 0 failures