Skip to content

Commit fb10cde

Browse files
committed
More accurate spec names
1 parent 83c8fd8 commit fb10cde

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

persistence/src/test/scala/hmda/persistence/institutions/FilingPersistenceSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ class FilingPersistenceSpec extends ActorSpec {
2525
probe.send(filingsActor, GetState)
2626
probe.expectMsg(filings.reverse)
2727
}
28-
"return None when persisting a filing period that already exists" in {
28+
"return Some when creating filing for period with no filings" in {
2929
val f1 = Filing("2018", "12345", Completed, true, 1483287071000L, 1514736671000L)
3030
probe.send(filingsActor, CreateFiling(f1))
3131
probe.expectMsg(Some(f1))
32-
32+
}
33+
"return None when persisting a filing period that already has a filing" in {
3334
val f2 = Filing("2016", "12345", InProgress, true, 1483287071000L, 0L)
3435
probe.send(filingsActor, CreateFiling(f2))
3536
probe.expectMsg(None)

0 commit comments

Comments
 (0)