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_instance_of ActiveSupport::HashWithIndifferentAccess, fields assert "address_city", fields.keys[0] end end end