Sha256: de1294b7e392a7376419e413ecbd39c8ae50eab5526fe1e176a6d997c9427350

Contents?: true

Size: 851 Bytes

Versions: 6

Compression:

Stored size: 851 Bytes

Contents

# require 'test_helper'
# 
# class GappsUserProfilesTest < Test::Unit::TestCase
#  
#   context "given a connection to apps.cul" do
#     setup do
#       gapps_config =YAML::load_file("private/gapps-config.yml")["apps_ocelot"].symbolize_keys!
#       @api = GoogleAppsApi::UserProfiles::Api.new(gapps_config)
#     end
# 
#     should "have a token" do
#       assert @api.token
#     end
#     
# 
#     should "be able to retrieve all users" do
#       # raise @api.retrieve_all.to_s
#     end
#     
#     should "be able to retrieve one user" do
#       assert @api.retrieve_user("nco2104").to_s
#     end
#     
#     should "be able to set email" do
#       assert @api.set_emails("jws2135",:primary => :work, :home => "james.stuart+profilesapi@gmail.com", :work => "james.stuart+profilesapi@columbia.edu").to_s
#     end
# 
#   end
#   
# end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
google_apps_api-0.3.2 test/google_apps_api_user_profiles_test.rb
google_apps_api-0.3.1 test/google_apps_api_user_profiles_test.rb
google_apps_api-0.3.0 test/google_apps_api_user_profiles_test.rb
google_apps_api-0.2.2 test/google_apps_api_user_profiles_test.rb
google_apps_api-0.2.1 test/google_apps_api_user_profiles_test.rb
google_apps_api-0.1.0 test/google_apps_api_user_profiles_test.rb