Fix failing api spec

ids aren't guaranteed to be returned in the same order, so change eq to match_array.