Sha256: a365cecb9274d863fb5dfa5d09545be665a10400b46cf25f1fa5c9002dd30656

Contents?: true

Size: 333 Bytes

Versions: 7

Compression:

Stored size: 333 Bytes

Contents

require 'helper'

class TestModuleFields < ActiveSupport::TestCase
  context "A SugarCRM.connection" do
    should "return a hash of module fields when #get_module_fields" do
      fields = SugarCRM.connection.get_module_fields("Users")
      assert_kind_of Hash, fields
      assert "address_city", fields.keys[0]
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
sugarcrm_emp-0.10.5 test/connection/test_get_module_fields.rb
sugarcrm_emp-0.10.1 test/connection/test_get_module_fields.rb
sugarcrm_emp-0.10.0 test/connection/test_get_module_fields.rb
sugarcrm-0.9.18 test/connection/test_get_module_fields.rb
sugarcrm-0.9.17 test/connection/test_get_module_fields.rb
sugarcrm-0.9.16 test/connection/test_get_module_fields.rb
sugarcrm-0.9.15 test/connection/test_get_module_fields.rb