 
 
   it 'should show an error when loading fails', (done) ->
-    id = 345
+    id = '345'
     expect(CrudStore.isUnknown(id)).to.be.true
     CrudActions.load.once 'trigger', (myId) ->
       delay ->



  it 'should call load when props updated', (done) ->
    id = 123
    expect(CrudStore.isUnknown(id)).to.be.true
    CrudActions.load.once 'trigger', (myId) ->
      expect(myId).to.equal(id)



  it 'should reflect the state changes from loading to loaded', (done) ->
    id = '234'
    expect(CrudStore.isUnknown(id)).to.be.true
    CrudActions.load.once 'trigger', (myId) ->
      delay ->
