Skip to content
This repository

Clear test timer on observer execution #482

Merged
merged 1 commit into from over 1 year ago

2 participants

Ian Lesperance Yehuda Katz
Ian Lesperance

Fixes the build when run within the browser.

Ian Lesperance elliterate Clear test timer on observer execution
Fixes the build when run within the browser.
61071f5
Yehuda Katz wycats merged commit 1c3a397 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Nov 17, 2012
Ian Lesperance elliterate Clear test timer on observer execution
Fixes the build when run within the browser.
61071f5
This page is out of date. Refresh to see the latest.
1  packages/ember-data/tests/unit/fixture_adapter_test.js
@@ -157,6 +157,7 @@ test("should follow isUpdating semantics", function() {
157 157 var result = store.findAll(Person);
158 158
159 159 result.addObserver('isUpdating', function() {
  160 + clearTimeout(timer);
160 161 start();
161 162 equal(get(result, 'isUpdating'), false, "isUpdating is set when it shouldn't be");
162 163 });

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.