import {configure} from '../src/aurelia-orm';
import {Container} from 'aurelia-dependency-injection';
import {EntityManager} from '../src/entity-manager';

describe('aurelia-orm', function() {
  it('Should export a configure method which returns the entityManager', function() {
    expect(typeof configure).toEqual('function');

    configure({container: new Container(), globalResources: function() {}}, function(entityManager) {
      expect(entityManager instanceof EntityManager).toBe(true);
    });
  });
});

@@ -1,16 +1,19 @@
 import %7B
+%0A  
 configur
@@ -17,183 +17,1603 @@
 gure
-%7D from '../src/aurelia-orm';%0Aimport %7BContainer%7D from 'aurelia-dependency-injection';%0Aimport %7BEntityManager%7D from '../src/entity-manager';%0A%0Adescribe('aurelia-orm', function() %7B
+,%0A  DefaultRepository,%0A  Repository,%0A  Entity,%0A  OrmMetadata,%0A  EntityManager,%0A  association,%0A  resource,%0A  endpoint,%0A  name,%0A  repository,%0A  validation,%0A  type,%0A  validatedResource%0A%7D from '../src/aurelia-orm';%0Aimport %7BContainer%7D from 'aurelia-dependency-injection';%0A%0Adescribe('aurelia-orm', function() %7B%0A  describe('export', function() %7B%0A    it('Should export configure', function() %7B%0A      expect(configure).toBeDefined();%0A    %7D);%0A%0A    it('Should export DefaultRepository', function() %7B%0A      expect(DefaultRepository).toBeDefined();%0A    %7D);%0A%0A    it('Should export Repository', function() %7B%0A      expect(Repository).toBeDefined();%0A    %7D);%0A%0A    it('Should export Entity', function() %7B%0A      expect(Entity).toBeDefined();%0A    %7D);%0A%0A    it('Should export OrmMetadata', function() %7B%0A      expect(OrmMetadata).toBeDefined();%0A    %7D);%0A%0A    it('Should export association', function() %7B%0A      expect(association).toBeDefined();%0A    %7D);%0A%0A    it('Should export resource', function() %7B%0A      expect(resource).toBeDefined();%0A    %7D);%0A%0A    it('Should export endpoint', function() %7B%0A      expect(endpoint).toBeDefined();%0A    %7D);%0A%0A    it('Should export name', function() %7B%0A      expect(name).toBeDefined();%0A    %7D);%0A%0A    it('Should export repository', function() %7B%0A      expect(repository).toBeDefined();%0A    %7D);%0A%0A    it('Should export validation', function() %7B%0A      expect(validation).toBeDefined();%0A    %7D);%0A%0A    it('Should export type', function() %7B%0A      expect(type).toBeDefined();%0A    %7D);%0A%0A    it('Should export validatedResource', function() %7B%0A      expect(validatedResource).toBeDefined();%0A    %7D);%0A  %7D);%0A
 %0A  i

add test to detect export changes