-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ember-data should provide its blueprints #3813
Conversation
stefanpenner
commented
Oct 2, 2015
- add blueprints
- test blueprints
Nice. Glad this is a thing. |
@stefanpenner - Mind if I pick this up, rebase, and whatnot? |
@rwjblue would appreciate that thanks:) |
These shims are already provided by `lib/ember-data-shims.js`.
OK, rebased and passing. Do we want to block this on pulling in Also, if we do, does anyone object to using Sample test using |
Added tests for blueprints. |
Yes, I believe we need to get the tests integrated (or we will just troll everyone). ALthough I see some tests... I must be missing something.
no objections |
@stefanpenner - Ya, I pulled them in already. Still tweaking to get them all passing/happy. |
cec896f
to
f63b3ca
Compare
5354378
to
1905212
Compare
OK, I beleive this is ready for a review. I updated the blueprints from current ember-cli master, and ensured that tests were in place for each blueprint. |
SGTM, we likely should get @trabus to take a look aswell |
we may want to be sure the windows build passes, now that the node side is actually important... |
I have all my extracted tests here in this branch: https://github.com/trabus/ember-cli-legacy-blueprints/blob/blueprints/ I've got the addon, dummy, and pod tests as well. It should be noted that I used Here's the adapter tests for example: https://github.com/trabus/ember-cli-legacy-blueprints/blob/blueprints/blueprints/adapter/blueprint-nodetest.js |
I'm talking about the default blueprint here: https://github.com/ember-cli/ember-cli-blueprint-test-helpers/tree/master/blueprints/ember-cli-blueprint-test-helpers |
Thanks @trabus, I'll get this updated (stealing all of your hard work 👯). |
That was my intent from the get-go. :) |
@rwjblue @stefanpenner do we want to go with using the blueprint name in the test and putting the them in |
@trabus - I'm playing with it the way you have it first (test co located with the blueprint itself). |
@rwjblue I'm really okay either way. Honestly, the On the other hand, it is convenient to have the associated test with the blueprint, but then the naming becomes an issue that will likely be brought up. |
👍 |
I'll get the blueprint fixed then, and will move the blueprint-tests in legacy-blueprints to the node-tests folder. Tracking in this issue: |
Updated the infrastructure to use the base setup provided by [email protected] (using |
@rwjblue what is the status of this pr? I am planning on doing another 2.3 beta release today and wanted to see if this was ready to pull in. |
I believe it is in working order, but @rwjblue should confirm as he has been helping push it to completion, their might be something I am not aware of pending. |
Ya, this is good to land in next beta. I will continue working in additional PR's to flesh out the blueprint tests a bit more. |
ember-data should provide its blueprints
Thanks for all the work @stefanpenner and @rwjblue. |