Sha256: dc9ee311773b5a49822f1cbf2a4e6b9f7d31458fc48d40a2b496937f993fd9bc

Contents?: true

Size: 626 Bytes

Versions: 78

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

78 entries across 78 versions & 1 rubygems

Version Path
travis-1.9.1 spec/client/user_spec.rb
travis-1.9.1.travis.1223.9 spec/client/user_spec.rb
travis-1.9.1.travis.1220.9 spec/client/user_spec.rb
travis-1.9.1.travis.1219.9 spec/client/user_spec.rb
travis-1.9.1.travis.1216.9 spec/client/user_spec.rb
travis-1.9.1.travis.1208.9 spec/client/user_spec.rb
travis-1.9.1.travis.1207.9 spec/client/user_spec.rb
travis-1.9.1.travis.1206.9 spec/client/user_spec.rb
travis-1.9.1.travis.1205.9 spec/client/user_spec.rb
travis-1.9.0 spec/client/user_spec.rb
travis-1.9.1.travis.1201.9 spec/client/user_spec.rb
travis-1.8.14.travis.1200.9 spec/client/user_spec.rb
travis-1.8.14.travis.1199.9 spec/client/user_spec.rb
travis-1.8.14.travis.1198.9 spec/client/user_spec.rb
travis-1.8.14.travis.1197.9 spec/client/user_spec.rb
travis-1.8.14.travis.1195.9 spec/client/user_spec.rb
travis-1.8.14.travis.1192.9 spec/client/user_spec.rb
travis-1.8.14.travis.1186.9 spec/client/user_spec.rb
travis-1.8.14.travis.1184.9 spec/client/user_spec.rb
travis-1.8.14.travis.1183.9 spec/client/user_spec.rb