fix spec test

compared to the same test in rest_spec.rb this makes no sense at all
why we need to invert it, and its clear to me why this bug got through code
review because it looks obviously correct.  it looks very obviously
wrong now, but it works.