This is due to the set call above. Added another populate spy check there
to highlight that.

Sent from my mobile device

On Jun 25, 2013, at 5:21 PM, Ryan Eastridge <notifications@github.com>
wrote:

In test/src/form.js:

> @@ -157,7 +159,7 @@ describe('form', function() {
>      expect(view.$('input[name="nested[test]"]')[0].value).to.equal('test');
>
>      // Expect the events to not have fired
> -    expect(populateSpy.callCount).to.equal(1);
> +    expect(populateSpy.callCount).to.equal(2);

Everything else makes sense, but not sure why this triggered an extra time.

—
Reply to this email directly or view it on
GitHub<https://github.com/walmartlabs/thorax/pull/193/files#r4881680>
.