-
We're trying to get an existing code base under test with Test'em. The code calls back to a REST API to do a bunch of its work (not as isolated as would be ideal but it is what it is for now). To get …
-
Since (if I read it all right) httpRespond etc doesn't work w/ 1.5.0 yet (and I believe everyone is using 1.5.0 and not 1.4.0 right :).... I tried to make use of Sinon.
I have test helper like this …
-
As recommended I am trying to use the Ephemeral storage during testing to make sure that there is no conflict between a non-testing and testing session, and to mock API calls. However, I get this erro…
-
I'm a big fan of the BBD style [expect syntax](http://chaijs.com/api/bdd/):
``` JavaScript
expect(tomster).to.be.an.instanceOf(Hamster);
expect(text).to.match(/somregex/);
```
This will generate rea…
-
I'm refactoring the [CRUD app](https://github.com/taras/ember-crud-example) to use the latest version of Ember App Kit which includes **isolatedContainer** function. The new version includes a [Storag…
taras updated
10 years ago
-
We have some tests written for Backbone.js routers that check hash changes. It appears that teabag watches the hashchange event and does its own things, restarting the tests part way. We get into a lo…
-
The App runs into a condition where App is set to isDestroying but tests are trying to run against it (I suspect).
On second assertion:
```
Error: Assertion Failed: calling set on destroyed object
…
-
I want to use bootstrap in my app, so i followed http://www.ember-cli.com/#asset-compilation this and installed:
bower install --save-dev bootstrap
and it was installed successfully, but problem is w…
-
How exactly do you go about testing this within an Ember app?
Is there a way to fake server calls, or just force it to log in with fake data?
-
Code speaks better than I do -
Basic model, with two `belongsTo` relationships:
``` coffeescript
class App.Foo extends Ep.Model
class App.Bar extends Ep.Model
class App.Baz extends Ep.Model
App.Foo…