Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global DS with Ember Data 2.3 #140

Closed
cspanring opened this issue Jan 18, 2016 · 4 comments
Closed

Global DS with Ember Data 2.3 #140

cspanring opened this issue Jan 18, 2016 · 4 comments

Comments

@cspanring
Copy link

The default model unit tests in a new Ember project with Ember Data 2.3...

ember new testproject
ember g model post
ember test

...will fail with...

Promise rejected before it exists: DS is not defined@ 72 ms
Source:     
    ReferenceError: DS is not defined at Klass.setupModel (http://localhost:7357/assets/test-support.js:6807:26)

...which points to https://github.com/switchfly/ember-test-helpers/blob/master/lib/ember-test-helpers/test-module-for-model.js#L23

I'm posting it here because this is where the exception points to, but I'm not sure if this issue should be resolved on the Ember Data, Shim or CLI, etc. level.

@pangratz
Copy link
Member

I think this should be fixed with #138...

@cspanring
Copy link
Author

Great, thanks!

@seawatts
Copy link

Also having this issue.

@cspanring
Copy link
Author

Seems to be resolved in Ember-CLI 2.3 (with ED 2.3.3 and Ember 2.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants