Sha256: 583b02b8e3d1bd9757bced2efe41ab4b13bab8b0728c1e0e3470a965a1aa1c7c

Contents?: true

Size: 626 Bytes

Versions: 331

Compression:

Stored size: 626 Bytes

Contents

require 'spec_helper'

describe Travis::Client::User do
  # attributes :login, :name, :email, :gravatar_id, :locale, :is_syncing, :synced_at, :correct_scopes
  subject { Travis::Client.new(:access_token => 'token').user }
  its(:login) { should be == 'rkh' }
  its(:name) { should be == 'Konstantin Haase' }
  its(:email) { should be == 'konstantin.haase@gmail.com' }
  its(:gravatar_id) { should be == '5c2b452f6eea4a6d84c105ebd971d2a4' }
  its(:locale) { should be == 'en' }
  its(:is_syncing) { should be_false }
  its(:synced_at) { should be_a(Time) }

  it { should_not be_syncing }
  it { should be_correct_scopes }
end

Version data entries

331 entries across 331 versions & 3 rubygems

Version Path
travis-1.8.11.travis.1012.9 spec/client/user_spec.rb
travis-1.8.11.travis.1011.9 spec/client/user_spec.rb
travis-1.8.11.travis.1010.9 spec/client/user_spec.rb
travis-1.8.11.travis.1009.9 spec/client/user_spec.rb
travis-1.8.11.travis.1008.9 spec/client/user_spec.rb
travis-1.8.11.travis.1007.9 spec/client/user_spec.rb
travis-1.8.11.travis.1004.9 spec/client/user_spec.rb
travis-1.8.11.travis.1003.9 spec/client/user_spec.rb
travis-1.8.11.travis.1002.9 spec/client/user_spec.rb
travis-1.8.11.travis.1001.9 spec/client/user_spec.rb
travis-1.8.11.travis.1000.9 spec/client/user_spec.rb
travis-1.8.11.travis.998.9 spec/client/user_spec.rb
travis-1.8.10.travis.997.9 spec/client/user_spec.rb
travis-1.8.10 spec/client/user_spec.rb
travis-1.8.10.travis.994.9 spec/client/user_spec.rb
travis-1.8.10.travis.953.11 spec/client/user_spec.rb
travis-akerl-1.8.9.1 spec/client/user_spec.rb
travis-akerl-1.8.9 spec/client/user_spec.rb
travis-1.8.10.travis.950.11 spec/client/user_spec.rb
travis-1.8.10.travis.948.11 spec/client/user_spec.rb