       expect( @Mod:: ).toMatch
         foo: 123
         bar: 321
- 
+
     it "calls included callback if defined, passing the including class", ->
       spy = jasmine.createSpy()
       @Mod.include

describe "Lib.Module", ->
  
  beforeEach ->
    @Mod = Lib.Module


      expect( @Mod ).toMatch
        foo: 123
        bar: 321

    it "calls extended callback if defined, passing the extended class", ->
      spy = jasmine.createSpy()
      @Mod.extend
        extended: spy
      expect( spy ).toHaveBeenCalledWith @Mod

    it "does not copy over 'extended' nor 'included' properties", ->
      @Mod.extend
        extended: ->
