From 1ce7cf8fee67557436a1813cbdad03fa975d1d73 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sat, 3 Jan 2015 01:47:50 -0500 Subject: [PATCH] Don't need to create a variable in the test, just build the manager. --- .../activity/downloader/manager/RefreshManagerSpek.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-test/src/test/kotlin/org/bspeice/minimalbible/activity/downloader/manager/RefreshManagerSpek.kt b/app-test/src/test/kotlin/org/bspeice/minimalbible/activity/downloader/manager/RefreshManagerSpek.kt index 8f4a040..ab83cbb 100644 --- a/app-test/src/test/kotlin/org/bspeice/minimalbible/activity/downloader/manager/RefreshManagerSpek.kt +++ b/app-test/src/test/kotlin/org/bspeice/minimalbible/activity/downloader/manager/RefreshManagerSpek.kt @@ -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())