jqUnit's fetchTemplate() function should load templates synchronously, rather than asynchronously, to be more flexible

Description

At the moment, jqUnit's fetchTemplate() method loads templates asynchronously using jQuery.load().We should replace the call to load with a synchronous Ajax calls so that tests can be assured that the template will be in place immediately after the call to fetchTemplate() returns.

Environment

None

Activity

Show:

Colin Clark March 30, 2010 at 11:15 PM

This issue was fixed for Infusion 1.2

Colin Clark November 6, 2009 at 2:36 AM

Due to the awkward state of the Builder tests, we appear to require the template to be loaded immediately within setup code. Making fetchTemplate() synchronous should address this issue.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created November 6, 2009 at 2:35 AM
Updated March 30, 2010 at 11:16 PM
Resolved March 30, 2010 at 11:15 PM