recurly/recurly-client-ruby — pull request #72 by mattv (2012-07-11 16:50:00+00:00)
Title: Broken Invoice#pdf method

Calling `#pdf` on an invoice raises `NoMethodError: undefined method 'find' for #` because it calls `find` on an instance, not the Invoice class.

I'm not sure the best way to test this with MiniTest::Spec, but in RSpec, or Mocha I would just set an expectation that the class method `Invoice.find` would be called with the invoice number and `:format => 'pdf'`.