aboutsummaryrefslogtreecommitdiffstats
path: root/test/ngScenario/FutureSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ngScenario/FutureSpec.js')
-rw-r--r--test/ngScenario/FutureSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ngScenario/FutureSpec.js b/test/ngScenario/FutureSpec.js
index 2a75f275..9ae284dc 100644
--- a/test/ngScenario/FutureSpec.js
+++ b/test/ngScenario/FutureSpec.js
@@ -42,7 +42,7 @@ describe('angular.scenario.Future', function() {
it('should parse json with fromJson', function() {
var future = new angular.scenario.Future('test name', function(done) {
- done(null, "{test: 'foo'}");
+ done(null, '{"test": "foo"}');
});
future.fromJson().execute(angular.noop);
expect(future.value).toEqual({test: 'foo'});