From 7fc18b263dc74f52bb677e446f23e35d64948841 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 20 Oct 2011 11:06:06 -0700 Subject: fix(radio): allows data-binding on value property. Closes#316 --- test/widget/inputSpec.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test/widget') diff --git a/test/widget/inputSpec.js b/test/widget/inputSpec.js index c73d5fdd..179f8156 100644 --- a/test/widget/inputSpec.js +++ b/test/widget/inputSpec.js @@ -402,6 +402,24 @@ describe('widget: input', function() { expect(inputs[0].checked).toBe(true); expect(inputs[1].checked).toBe(false); }); + + + it('it should work with value attribute that is data-bound', function(){ + compile( + '