Sha256: 7e2216f7646ea8d6a111bc4cdaa84681333901b8931560ee7c1ea8acffe1dfa4
Contents?: true
Size: 695 Bytes
Versions: 4
Compression:
Stored size: 695 Bytes
Contents
require 'spec_helper' describe "Koala::Facebook::GraphAndRestAPI" 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::GraphAndRestAPI.new("token").should be_a(Koala::Facebook::GraphAndRestAPI) end it "ultimately creates an API object" do api = Koala::Facebook::GraphAndRestAPI.new("token").should be_a(Koala::Facebook::API) end it "fires a depreciation warning" do Koala::Utils.should_receive(:deprecate) api = Koala::Facebook::GraphAndRestAPI.new("token") end end end
Version data entries
4 entries across 4 versions & 1 rubygems