Skip to content

Commit

Permalink
Additional test
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Dec 31, 2024
1 parent 26ceee1 commit ad88632
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions core/src/test/scala/spec/AbstractBasicSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,17 @@ abstract class AbstractBasicSpec extends AsyncWordSpec with AsyncTaskSpec with M
}
}
}
"verify the correct number of records in the database" in {
for {
people <- db.people.t.count
ageLinks <- db.ageLinks.t.count
backingStore <- db.backingStore.t.count
} yield {
people should be(24)
ageLinks should be(22)
backingStore should be(3)
}
}
"do a database backup" in {
DatabaseBackup.archive(db, new File(s"backups/$specName.zip")).map(_ should be(49))
}
Expand Down

0 comments on commit ad88632

Please sign in to comment.