Sha256: a02ef951efa44d55dace4768859464ab6a9095ee368695ae7969b6a760b2b9e7
Contents?: true
Size: 501 Bytes
Versions: 6
Compression:
Stored size: 501 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Highrise::Account do before(:each) do @account = Highrise::Account.new end it "should be instance of Highrise::Base" do @account.kind_of?(Highrise::Base).should be_true end it "should delegate to find(:one, :from => '/account.xml') when account is called" do Highrise::Account.should_receive(:find).with(:one, {:from => "/account.xml"}).and_return(@account) Highrise::Account.me.should == @account end end
Version data entries
6 entries across 6 versions & 2 rubygems