Sha256: 21f3d5d7e4080bac54c4c75be9a6e925f688dd22dd814c475487e33ad9ecf303
Contents?: true
Size: 346 Bytes
Versions: 13
Compression:
Stored size: 346 Bytes
Contents
require 'spec_helper' describe Chargify::Statement, :fake_resource do context '.find_pdf' do before(:each) do FakeWeb.register_uri(:get, "#{test_domain}/statements/1.pdf", :body => 'fake_pdf') end it 'downloads pdf statement' do pdf = Chargify::Statement.find_pdf(1) pdf.should == 'fake_pdf' end end end
Version data entries
13 entries across 13 versions & 1 rubygems