Fix test for truthiness in Api::Response

And use Rspec idiomatically