{"push_id":804554623,"size":8,"distinct_size":6,"ref":"refs/heads/master","head":"616ddb1bf6cc789ff9d5f494322459573a888880","before":"cd48396e46045d68018b95dcf3534d4f2bd0e112","commits":[{"sha":"86265964fcbef77f3e02aa3905d9e12140d28265","author":{"email":"c83455bdc41666585a8fff1b5a28e5b7a66b0aed@frontside.io","name":"Charles Lowell"},"message":"Make `beforeEach` and `afterEach` use Ember.run\n\nThis wraps the versions of `beforeEach` and `afterEach` that ship with\nmocha in versions that invoke their callbacks inside of the Ember run\nloop.\n\nIn all of the Ember applications that we have ever used mocha to\ntest (which at this point is several over the past couple years), it has\nalways been the case that we ended up wrapping setup and teardown\nblocks inside of an Ember.run, and so they all ended up having code that\nwrapped the stock beforeEach/afterEach hooks in an ember run.\n\nThis is because Canonical BDD style is to have side effects inside your\nbefore*/after* blocks, and have your `it` blocks be read-only that query\nand assert on current state.\n\nIn the context of an Ember.run, this means doing setup with side-effects\nlike dispatching events, propagating bindings, or performing route\ntransitions inside an ember run. That is all to say, that the default\nshould always be to use `Ember.run`. In the unlikely event that a setup\nhook should be run outside of the run loop, a reference to the unwrapped\noriginal mocha function is provided with the `withoutEmberRun`\nproperty. E.g.\n\n   beforEach.withoutEmberRun(function() {\n     // no run loop.\n   });\n\nIt should be noted that this intentionally wraps `beforeEach` and\n`afterEach`, but leaves `before` and `after` alone since those blocks\nare run before the application is actually instantiated and usually are\ndedicated to suite-level concerns like stubbing global browser objects,\nand other non Ember-y things.\n\nIt may be that those could be wrapped as well, but we don't really have\nthe experience to make a call either way.","distinct":false,"url":"https://api.github.com/repos/cowboyd/ember-mocha/commits/86265964fcbef77f3e02aa3905d9e12140d28265"},{"sha":"3dc0cf26480eb6daddd932dd6c6ad93bb93062bf","author":{"email":"c83455bdc41666585a8fff1b5a28e5b7a66b0aed@frontside.io","name":"Charles Lowell"},"message":"test `beforeEach` and `afterEach` are in run loop.","distinct":false,"url":"https://api.github.com/repos/cowboyd/ember-mocha/commits/3dc0cf26480eb6daddd932dd6c6ad93bb93062bf"},{"sha":"eb971e8d2ac3a13c8623e18c3ddd77ba773010d0","author":{"email":"2591e5f46f28d303f9dc027d475a5c60d8dea17a@cerebris.com","name":"Dan Gebhardt"},"message":"Merge pull request #57 from cowboyd/always-wrap-before-and-after-in-ember-run\n\nMake `beforeEach` and `afterEach` use Ember.run","distinct":true,"url":"https://api.github.com/repos/cowboyd/ember-mocha/commits/eb971e8d2ac3a13c8623e18c3ddd77ba773010d0"},{"sha":"9162c444ad7efd153caf7a40cd49339526806998","author":{"email":"4737d94bfb8b7940843864fc531cf5f068ebec04@me.com","name":"Robert Jackson"},"message":"Update minimum version of ember-test-helpers.","distinct":true,"url":"https://api.github.com/repos/cowboyd/ember-mocha/commits/9162c444ad7efd153caf7a40cd49339526806998"},{"sha":"9f8e03727d8000533314ce34796eb569364087ac","author":{"email":"b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@rwjblue.com","name":"Robert Jackson"},"message":"Merge pull request #58 from rwjblue/update-ember-test-helpers\n\nUpdate minimum version of ember-test-helpers.","distinct":true,"url":"https://api.github.com/repos/cowboyd/ember-mocha/commits/9f8e03727d8000533314ce34796eb569364087ac"},{"sha":"94ec4d832d0b8681a5ddd6130de91b9660833b3d","author":{"email":"4737d94bfb8b7940843864fc531cf5f068ebec04@me.com","name":"Robert Jackson"},"message":"Release v0.8.3.","distinct":true,"url":"https://api.github.com/repos/cowboyd/ember-mocha/commits/94ec4d832d0b8681a5ddd6130de91b9660833b3d"},{"sha":"ae468ecc6d1b69e5c50baa7f65cc785eac80a15f","author":{"email":"ac03d19cbf14f9fbaa16c7061f4942b888ca1686@Gmail.com","name":"Elad Shahar"},"message":"Add shim for context","distinct":true,"url":"https://api.github.com/repos/cowboyd/ember-mocha/commits/ae468ecc6d1b69e5c50baa7f65cc785eac80a15f"},{"sha":"616ddb1bf6cc789ff9d5f494322459573a888880","author":{"email":"b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@rwjblue.com","name":"Robert Jackson"},"message":"Merge pull request #59 from SaladFork/add-context-shim\n\nAdd shim for context","distinct":true,"url":"https://api.github.com/repos/cowboyd/ember-mocha/commits/616ddb1bf6cc789ff9d5f494322459573a888880"}]}