kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

Can't add classes as part of test init #250

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Trying to create classes as part of a test fails with:

Duplicate table name config/core.json?sources?1?schema?prototype

Try this as a test file:

// set up test classes
Class({
  id: 'TestClass',
  prototype: {}
});

tests([
  function init(){
    assert(true);
  }
]);

Original issue reported on code.google.com by dean%dea...@gtempaccount.com on 16 Sep 2009 at 6:10

GoogleCodeExporter commented 8 years ago
I wonder if that class somehow ended up in your core.json from an older 
version. It 
shouldn't be added to core.json and I can't seem to reproduce that error.

Original comment by kris...@gmail.com on 18 Sep 2009 at 4:17