guys, @emberjs is hard to test: https://github.com/stefanpenner/ember-app-kit-todos/blob/master/tests/acceptance/todos_test.js … :troll face:
@fivetanley Shouldn't we be able to avoid explicit .run via more usage of helpers like andThen? (even for units?) @stefanpenner @emberjs
-
-
@wycats@fivetanley andThen is currently coupled to Acceptance tests https://github.com/emberjs/ember.js/blob/master/packages/ember-testing/lib/helpers.js#L106-L108 …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats@fivetanley@emberjs it seems at a unit level Em.run + something like andThen would be very similar. -
@wycats@fivetanley at a unit level, I wonder if the indirection is just yet-another thing one must learn. But i’ll wait to see.. -
@wycats@fivetanley thinking about it more andThen should actually be fine, if we provided such a helper for unit tests. -
@stefanpenner@wycats@fivetanley would love to see a cleaner way to do it -
@bradleypriest@wycats@fivetanley can you provide an example? -
@stefanpenner I'm thinking something like this: https://gist.github.com/wycats/96cd230ab2ba81be5ad1 …@bradleypriest@fivetanley -
@wycats@bradleypriest@fivetanley looks good.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.