3 describe('egIDL', function(){
4 beforeEach(module('egCoreMod'));
6 it('should parse the IDL', inject(function(egIDL) {
8 expect(egIDL.classes.aou.fields.length).toBeGreaterThan(0);
11 it('should create an aou object', inject(function(egIDL) {
13 var org = new egIDL.aou();
14 expect(typeof org.id).toBe('function');
17 it('should create an aou object with accessor/mutators', inject(function(egIDL) {
19 var org = new egIDL.aou();
21 expect(org.name()).toBe('AN ORG');