Can you try
S.initIfUninitted(liftSession) {
do your code here
}
?
... but you'd still need to create a dumb LiftSession
Br's,
Marius
On Mar 11, 8:40 pm, Joachim A. wallaby.po...@googlemail.com wrote:
Hi,
I have a unit test which call a method which uses the locale method S.?
Hi,
I don't know how this could help because I've been away from lift code
for a long time. But I remember that I tried to use mocks with JMock
and specs in order to specify the example site (\liftweb\sites
\example\src\test\scala\net\liftweb\example\snippet).
The idea was to simulate a