discourse/discourse — pull request #1614 by velesin (2013-11-05 16:50:04+00:00)
Title: enables passing additional setup / teardown code to integration test helper

QUnit doesn't allow nesting of modules, so it was either using integration helper as is, or duplicating its functionality (advanceReadiness, reset etc.) in cases when setup / teardown code for test is necessary.

This pull request allows passing the integration helper an object with setup / teardown methods that will be executed in addition to what is already provided by this helper.