@fivetanley Shouldn't we be able to avoid explicit .run via more usage of helpers like andThen? (even for units?) @stefanpenner @emberjs
-
-
Replying to @wycats
@wycats@fivetanley@emberjs it seems at a unit level Em.run + something like andThen would be very similar.1 reply 0 retweets 0 likes -
Replying to @stefanpenner
@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..2 replies 0 retweets 0 likes -
Replying to @stefanpenner
@wycats@fivetanley thinking about it more andThen should actually be fine, if we provided such a helper for unit tests.1 reply 0 retweets 0 likes -
Replying to @stefanpenner
@stefanpenner@wycats@fivetanley would love to see a cleaner way to do it1 reply 0 retweets 0 likes -
Replying to @bradleypriest
@bradleypriest@wycats@fivetanley can you provide an example?2 replies 0 retweets 0 likes -
Replying to @stefanpenner
@stefanpenner I'm thinking something like this: https://gist.github.com/wycats/96cd230ab2ba81be5ad1 …@bradleypriest@fivetanley3 replies 0 retweets 2 likes -
Replying to @stefanpenner
@wycats i like the test(fullName, description, function(instance){ … }); pattern1 reply 0 retweets 0 likes
@stefanpenner yeah I think it's pretty great for unit tests. stubbing out deps could possibly be done in the body (in setup()?)
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.