Thank you very much. buildWithSpec did it:)
2014-08-06 14:20 GMT+02:00 Mark Rizun <mri...@gmail.com>: > Thomas, > > The problem is that I already have lots of tests and it's only the > beginning. Imagine running 50 tests at one time:) You will see 50 windows > on screen. Not very good > > > 2014-08-06 14:11 GMT+02:00 Thomas Bany <mun.sys...@gmail.com>: > > 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. >> >> 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 ? >> >> Thomas. >> >> >> 2014-08-06 14:01 GMT+02:00 Benjamin <benjamin.vanryseghem.ph...@gmail.com >> >: >> >> Maybe you can manually set the Adapter? >>> >>> Ben >>> >>> On 06 Aug 2014, at 12:39, Mark Rizun <mri...@gmail.com> wrote: >>> >>> Maybe it can, but it's more convenient for me to subclass it >>> So, how do I initialize it for tests without opening it with spec? >>> 6 серп. 2014 12:00, користувач "Benjamin" < >>> benjamin.vanryseghem.ph...@gmail.com> написав: >>> >>>> On 06 Aug 2014, at 11:50, Mark Rizun <mri...@gmail.com> wrote: >>>> >>>> > No they don't:) I just replaced a menu of TextModel with my own, and >>>> added some ast support. >>>> >>>> Can’t the menu be changed dynamically in TextModel? >>>> >>>> Ben >>>> >>> >>> >> >