aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIgor Minar2011-01-19 00:10:39 -0800
committerMisko Hevery2011-01-19 15:52:27 -0800
commita5eb3ed107034cce5b7de3ec3f8a43ff3a379fa1 (patch)
tree791c8ac9c0f235dd6afe71f951518b9bf41f8bcd /test
parent63690d189214135f22171ad8795ccfe15103a8e6 (diff)
downloadangular.js-a5eb3ed107034cce5b7de3ec3f8a43ff3a379fa1.tar.bz2
$route should create child scope via $new
Diffstat (limited to 'test')
-rw-r--r--test/widgetsSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js
index 59cbc3c6..48b9f8a1 100644
--- a/test/widgetsSpec.js
+++ b/test/widgetsSpec.js
@@ -651,7 +651,7 @@ describe("widget", function(){
// this one should really be just '1', but due to lack of real events things are not working
// properly. see discussion at: http://is.gd/ighKk
- expect(element.text()).toEqual('4');
+ expect(element.text()).toEqual('2');
dealoc(element);
});