Sha256: 84a7298aafb5f1653a8b3afc6c554e3571a379cea161eaa13b57fb884744370b

Contents?: true

Size: 402 Bytes

Versions: 9

Compression:

Stored size: 402 Bytes

Contents

require 'spec_helper'

describe Travis::Client::Account do
  let(:session) { Travis::Client.new }
  subject { session.accounts.first }
  its(:id) { should be == 123 }
  its(:name) { should be == 'Konstantin Haase' }
  its(:login) { should be == 'rkh' }
  its(:type) { should be == 'user' }
  its(:repos_count) { should be == 200 }
  its(:inspect) { should be == "#<Travis::Client::Account: rkh>" }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
travis-1.5.6.travis.297.4 spec/client/account_spec.rb
travis-1.5.6.travis.296.4 spec/client/account_spec.rb
travis-1.5.5 spec/client/account_spec.rb
travis-1.5.4 spec/client/account_spec.rb
travis-1.5.3 spec/client/account_spec.rb
travis-1.5.2 spec/client/account_spec.rb
travis-1.5.1 spec/client/account_spec.rb
travis-1.5.0 spec/client/account_spec.rb
travis-1.4.0 spec/client/account_spec.rb