Fix settings get bug in mocks

This commit is contained in:
Juan Cruz Viotti 2014-12-05 11:49:00 -04:00
parent 4d0ecbdc4c
commit 08e8cfbb09

View File

@ -10,7 +10,7 @@ exports.fs =
# Mock data prefix automatically to remove
# duplication in most of the tests
mockFsOptions[resin.settings.dataPrefix] = mockFs.directory()
mockFsOptions[resin.settings.get('dataPrefix')] = mockFs.directory()
for key, value of filesystemConfig
mockFsOptions[value.name] = value.contents