aboutsummaryrefslogtreecommitdiffstats
path: root/test/BinderSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/BinderSpec.js')
-rw-r--r--test/BinderSpec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/BinderSpec.js b/test/BinderSpec.js
index 15a1b5c7..d78573bb 100644
--- a/test/BinderSpec.js
+++ b/test/BinderSpec.js
@@ -40,8 +40,8 @@ describe('Binder', function(){
});
it('ChangingRadioUpdatesModel', function(){
- var scope = this.compile('<input type="radio" name="model.price" value="A" checked>' +
- '<input type="radio" name="model.price" value="B">');
+ var scope = this.compile('<div><input type="radio" name="model.price" value="A" checked>' +
+ '<input type="radio" name="model.price" value="B"></div>');
scope.$eval();
assertEquals(scope.model.price, 'A');
});