Skip to content
This repository has been archived by the owner on Apr 12, 2018. It is now read-only.

Commit

Permalink
Updated ItemsListSpecs for 2.8 initialization order
Browse files Browse the repository at this point in the history
  • Loading branch information
Naftoli Gugenheim authored and indrajitr committed Jul 10, 2010
1 parent 5febe92 commit c053741
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -49,6 +49,7 @@ trait ItemsList[T <: Mapper[T]] {
* Must itself be a T (the mapper type it represents)
*/
def metaMapper: T with MetaMapper[T]

/**
* Whether the sorting algorithm should put null first or last
*/
Expand Down
Expand Up @@ -41,11 +41,10 @@ object ItemsListSpecs extends Specification {
Schemifier.destroyTables_!!(DefaultConnectionIdentifier, Schemifier.neverF _, SampleItem)
Schemifier.schemify(true, Schemifier.neverF _, SampleItem)
new ItemsList[SampleItem] {
val metaMapper = SampleItem
def metaMapper = SampleItem
}
}

/* FIXME: 280

"ItemsList" should {
"buffer items to save" in {
val il = init
Expand Down Expand Up @@ -78,7 +77,7 @@ object ItemsListSpecs extends Specification {
il.removed.length must_== 0
}
}
*/

}

class SampleItem extends LongKeyedMapper[SampleItem] with IdPK {
Expand Down

0 comments on commit c053741

Please sign in to comment.