Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
sugarcrm / test / test_connection.rb
Size: Mime:
require 'helper'

class TestConnection < ActiveSupport::TestCase
  context "A SugarCRM::Connection instance" do
    should "retrieve the list of available modules" do
      assert_instance_of Array, SugarCRM.modules
      assert_instance_of SugarCRM::Module, SugarCRM.modules[0]
    end
    should "create sub-classes by module name" do
      assert SugarCRM.session.namespace_const.const_defined? "User"
    end
  end
end