mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-07-05 15:54:44 -04:00
Don't need to create a variable in the test, just build the manager.
This commit is contained in:
@ -37,7 +37,7 @@ class RefreshManagerSpek() : Spek() {{
|
|||||||
|
|
||||||
on("creating a new RefreshManager and mock preferences") {
|
on("creating a new RefreshManager and mock preferences") {
|
||||||
val mockPrefs = buildMockPrefs()
|
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") {
|
it("should not have updated the prefs as part of the constructor") {
|
||||||
verify(mockPrefs, never())
|
verify(mockPrefs, never())
|
||||||
|
Reference in New Issue
Block a user