Browse files

cleanup

  • Loading branch information...
1 parent d414df2 commit e70800b3083f20776f1a6e232c134e22768143f3 @indrajitr indrajitr committed Mar 3, 2011
Showing with 1 addition and 12 deletions.
  1. +1 −12 persistence/mapper/src/test/scala/net/liftweb/mapper/MapperSpec.scala
View
13 persistence/mapper/src/test/scala/net/liftweb/mapper/MapperSpec.scala
@@ -98,16 +98,6 @@ object MapperSpec extends Specification("Mapper Specification") {
Schemifier.schemify(true, if (doLog) Schemifier.infoF _ else ignoreLogger _, DbProviders.SnakeConnectionIdentifier, SampleModelSnake, SampleTagSnake)
}
-/*
- doBeforeSpec {
- providers.foreach(provider => {
- try {provider.setupDB} catch { case e if !provider.required_? => skip("Provider %s not available: %s".format(provider, e)) }
- Thread.sleep(50) // Yuck! FIXME
-// println("Setup done for =>>> " + provider)
- })
- }
-*/
-
providers.foreach(provider => {
("Mapper for " + provider.name) should {
@@ -664,11 +654,10 @@ object Mixer extends Mixer with LongKeyedMetaMapper[Mixer] {
}
}
-import java.util.UUID
-
object Thing extends Thing with KeyedMetaMapper[String, Thing] {
override def dbTableName = "things"
+ import java.util.UUID
override def beforeCreate = List((thing: Thing) => {
thing.thing_id(UUID.randomUUID().toString())
})

0 comments on commit e70800b

Please sign in to comment.