Sha256: 9011055668d6e1bd8e9b68cba3c83ff6eeebf5a2311239283288ec13b2077398
Contents?: true
Size: 655 Bytes
Versions: 2
Compression:
Stored size: 655 Bytes
Contents
require 'spec_helper' describe "Koala::Facebook::RestAPI" do describe "class consolidation" do before :each do Koala::Utils.stub(:deprecate) # avoid actual messages to stderr end it "still allows you to instantiate a GraphAndRestAPI object" do api = Koala::Facebook::RestAPI.new("token").should be_a(Koala::Facebook::RestAPI) end it "ultimately creates an API object" do api = Koala::Facebook::RestAPI.new("token").should be_a(Koala::Facebook::API) end it "fires a depreciation warning" do Koala::Utils.should_receive(:deprecate) api = Koala::Facebook::RestAPI.new("token") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
koala-1.3.0rc1 | spec/cases/rest_api_spec.rb |
koala-1.2.1 | spec/cases/rest_api_spec.rb |