Sha256: 43838df52ffceb839c3b00bdc258056e9ad59eb69f89aed54cae5beba62e315c

Contents?: true

Size: 589 Bytes

Versions: 10

Compression:

Stored size: 589 Bytes

Contents

require 'helper'

class ContactTest < Test::Unit::TestCase
  def setup
    setup_redtail
    @user = RubyRedtail::User.new('UserKey',@redtail_user_key)
    @contact = RubyRedtail::Contact.new({"ContactID" => @redtail_contact_id},@user.api_hash)
  end
  
  should "be able to fetch client details" do
    assert_equal(Hash, @contact.fetch.class)
  end
  
  should "be able to fetch basic client details" do
    assert_equal(Hash, @contact.fetch_basic.class)
  end
  
  should "be able to fetch master client details" do
    assert_equal(Hash, @contact.fetch_master.class)
  end
  


  
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby-redtail-0.3.8 test/contact_test.rb
ruby-redtail-0.3.7 test/contact_test.rb
ruby-redtail-0.3.6 test/contact_test.rb
ruby-redtail-0.3.5 test/contact_test.rb
ruby-redtail-0.3.4 test/contact_test.rb
ruby-redtail-0.3.3 test/contact_test.rb
ruby-redtail-0.3.2 test/contact_test.rb
ruby-redtail-0.3.1 test/contact_test.rb
ruby-redtail-0.3.0 test/contact_test.rb
ruby-redtail-0.2.0 test/contact_test.rb