Rubydoctest problem

Wondering if you good folk here would know any tips for getting around
some
of the rubydoctest basics. I’m running into the below problem.

  1. FAIL | get_rules(ltm_name, rule_name) => returns an array of rules
    for
    a specified virtual server
    Got: [#<SOAP::Mapping::Object:0x811465dc
    {}rule_name=“HTTP-X-Client” {}priority=0>,
    #<SOAP::Mapping::Object:0x81147130 {}rule_name=“store-http-acl”
    {}priority=1>]
    Expected: [#<SOAP::Mapping::Object:0x8846ac0c
    {}rule_name=“HTTP-X-Client” {}priority=0>,
    #<SOAP::Mapping::Object:0x8846b788 {}rule_name=“store-http-acl”
    {}priority=1>]

The object values change even though the results Im getting is a
success. I
expect this behavior. How can rubydoctest be told to handle this?