Author: aparfonov
Date: 2010-06-24 11:00:00 -0400 (Thu, 24 Jun 2010)
New Revision: 2697
Modified:
jcr/trunk/exo.jcr.component.ext/src/test/java/org/exoplatform/services/jcr/ext/script/groovy/GroovyScript2RestLoaderTest.java
Log:
EXOJCR-482
Modified:
jcr/trunk/exo.jcr.component.ext/src/test/java/org/exoplatform/services/jcr/ext/script/groovy/GroovyScript2RestLoaderTest.java
===================================================================
---
jcr/trunk/exo.jcr.component.ext/src/test/java/org/exoplatform/services/jcr/ext/script/groovy/GroovyScript2RestLoaderTest.java 2010-06-24
14:59:24 UTC (rev 2696)
+++
jcr/trunk/exo.jcr.component.ext/src/test/java/org/exoplatform/services/jcr/ext/script/groovy/GroovyScript2RestLoaderTest.java 2010-06-24
15:00:00 UTC (rev 2697)
@@ -303,6 +303,8 @@
dep.setProperty("jcr:lastModified", Calendar.getInstance());
dep.setProperty("jcr:data", "package dependencies; class Dep1 {
String name = getClass().getName() }");
+ session.save();
+
script.setProperty("jcr:data",
Thread.currentThread().getContextClassLoader().getResourceAsStream(
"TestDependency.groovy"));