-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Build a html string from services/ember-cli #76
Conversation
👍 to the changes, would you mind adding a super simple unit test as a starting point for future testing initiatives? |
@joostdevries While definitely simpler, I want to ensure that we don't expose index.html to the user until we know we've ensured he can't break the app (other than the build of his own app) with it. |
@Gaurav0 at this point it's not exposed as I'm taking it directly out of |
@rwjblue test :-) |
var service = this.subject(); | ||
assert.ok(service); | ||
|
||
var gist = Ember.Object.create({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using actual models here overcomplicated things, so I chose to use normal objects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
👍 - Looks good, left one small comment... |
Build a html string from services/ember-cli
My idea is basically to have all of the build logic in
services/ember-cli
so that we don't have to do the same stuff in multiple places.. That way we can probably also unit-testservices/ember-cli
and have a pretty good baseline for overall functionality