Sha256: 7751d6cedf24645205f10263b9427803e08482f8778df17c898d9d144019a767

Contents?: true

Size: 269 Bytes

Versions: 19

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

describe Highrise::Account do
  it { should be_a_kind_of Highrise::Base }
  
  it ".me" do
    Highrise::Account.should_receive(:find).with(:one, {:from => "/account.xml"}).and_return(subject)
    Highrise::Account.me.should == subject
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
highrise-3.2.3 spec/highrise/account_spec.rb
highrise-3.2.1 spec/highrise/account_spec.rb
highrise-3.1.6 spec/highrise/account_spec.rb
highrise-3.1.5 spec/highrise/account_spec.rb
highrise-3.1.2 spec/highrise/account_spec.rb
highrise-3.1.1 spec/highrise/account_spec.rb
highrise-3.1.0 spec/highrise/account_spec.rb
highrise-3.1.0.pre spec/highrise/account_spec.rb
highrise-3.0.5 spec/highrise/account_spec.rb
highrise-3.0.4 spec/highrise/account_spec.rb
highrise-3.0.3 spec/highrise/account_spec.rb
peterosullivan-highrise-3.0.7 spec/highrise/account_spec.rb
peterosullivan-highrise-3.0.6 spec/highrise/account_spec.rb
peterosullivan-highrise-3.0.5 spec/highrise/account_spec.rb
peterosullivan-highrise-3.0.4 spec/highrise/account_spec.rb
peterosullivan-highrise-3.0.3 spec/highrise/account_spec.rb
peterosullivan-highrise-3.0.2 spec/highrise/account_spec.rb
highrise-3.0.1 spec/highrise/account_spec.rb
highrise-3.0.0 spec/highrise/account_spec.rb