Sha256: 30937deea6a98d8f317e0c7388fc5edd2f131dd3f32839a9ccc7078cc51c2407

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

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

describe URL do
  context "A json response" do
    subject { URL.new('https://graph.facebook.com/37901410') }
    
    it "should parse json" do
      subject.get.json.should be_a(Hash)
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
url-0.2.1 spec/json_spec.rb
url-0.2.0 spec/json_spec.rb