-
Notifications
You must be signed in to change notification settings - Fork 440
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
Cannot get record in tests #33
Comments
Some better error handling would sure be helpful :) Does it work in development? i.e. when you run The fixtures don't actually work in tests, you use factories instead. Check out the acceptance testing section part of the readme and let me know if it makes sense. |
@samselikoff I saw this after opening this PR. I was fighting this error yesterday afternoon and this morning you release the new version with the factories. #maximum-trolling |
I'll close this while I explore the possibility of using factories. Factories look more interesting that just using static fixtures. |
Haha, ok great. The wiki has the guides now, too, fyi. The fixtures are really there to be an easy way to get some test data in for development |
I'm not sure of that's going on, but I can't get individial records in tests.
The exact error is:
that references to this line: https://github.com/samselikoff/ember-pretenderify/blob/ab7f70d0073e14a047ac753152d39573743212e7/addon/store.js#L27
My config.js:
and my fixtures in
app/pretender/data/schools.js
Everything seems to be by the book, but in my acceptance tests it fails. The only special bit is that I'm using
ember-cli-simple-auth
andember-cli-simple-auth-oauth2
, but I don't see why it would affect this.I'm open to pairing to fix this is that helps
The text was updated successfully, but these errors were encountered: