Sha256: 3ca356f047b07665b08a2dfce43f3b3e854a588ae7d96978e3f031b66507d425

Contents?: true

Size: 418 Bytes

Versions: 5

Compression:

Stored size: 418 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/test_helper")

class DownloadTest < MiniTest::Unit::TestCase
  describe "download" do
    before do
      DocRaptor.api_key "something something"
    end

    describe "with good arguments" do
      it "should give me a valid response" do
        stub_http_response_with("simple_download.pdf", :get)
        DocRaptor.download("test-id")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
doc_raptor-0.3.4 test/download_test.rb
doc_raptor-0.3.3 test/download_test.rb
doc_raptor-0.3.2 test/download_test.rb
doc_raptor-0.3.1 test/download_test.rb
doc_raptor-0.3.0 test/download_test.rb