Don't need to create a variable in the test, just build the manager.

parser-fixes
Bradlee Speice 2015-01-03 01:47:50 -05:00
parent ca6c67d8ae
commit 1ce7cf8fee
1 changed files with 1 additions and 1 deletions

View File

@ -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())