mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-12-26 00:28:24 -05:00
Don't need to create a variable in the test, just build the manager.
This commit is contained in:
parent
ca6c67d8ae
commit
1ce7cf8fee
@ -37,7 +37,7 @@ class RefreshManagerSpek() : Spek() {{
|
||||
|
||||
on("creating a new RefreshManager and mock preferences") {
|
||||
val mockPrefs = buildMockPrefs()
|
||||
val rM = buildRefreshmanager(listOf(installer, installer), mockPrefs)
|
||||
buildRefreshmanager(listOf(installer, installer), mockPrefs)
|
||||
|
||||
it("should not have updated the prefs as part of the constructor") {
|
||||
verify(mockPrefs, never())
|
||||
|
Loading…
Reference in New Issue
Block a user