Sha256: 13a9ab7812c9360110d88b0d459af63c686531f894e2432d9fe52157a6b8cb38
Contents?: true
Size: 485 Bytes
Versions: 11
Compression:
Stored size: 485 Bytes
Contents
require 'helper' class TestModuleFields < Test::Unit::TestCase context "A SugarCRM.connection" do setup do SugarCRM::Connection.new(URL, USER, PASS, {:debug => false, :register_modules => false}) end should "return a hash of module fields when #get_module_fields" do fields = SugarCRM.connection.get_module_fields("Users") assert_instance_of ActiveSupport::HashWithIndifferentAccess, fields assert "address_city", fields.keys[0] end end end
Version data entries
11 entries across 11 versions & 1 rubygems