Sha256: 05612cb098c034f1f4fff9bffaa93ba0009f438eaa9a803c44184e45bd585705

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe APICache::API do
  it "should handle redirecting get requests" do
    api = APICache::API.new
    lambda {
      api.get('http://froogle.google.com', 5)
    }.should_not raise_error(APICache::CannotFetch)
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
mloughran-api_cache-0.1.2 spec/api_spec.rb
api_cache-0.1.2 spec/api_spec.rb