Aug. 6, 2014
12:19 p.m.
On 06 Aug 2014, at 14:11, Thomas Bany <mun.sysdev@gmail.com> wrote:
Going through the execution of 'openWithSpec', it looks like the method you are looking for is 'buildWithSpec'. It definitely instantiate the adapters as well as the morphs, with the root of the morph tree being nil.
I can't tell you if everything will work as intended though, but I don't see why not. Benjamin developed Spec and might be able to answer that.
`builtWithSpec` should definitely do it :)
Finaly, I don't quite see what is wrong with opening a window in a test, as long as you send 'close' to your model at the end ?
Usually you want tests to be runnable in headless mode :) Ben