1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +00:00
stoargeKey -> storageKey
This commit is contained in:
Dick Choi
2016-08-27 23:46:08 +09:00
parent 0127d5143a
commit 25f50b8cdf
8 changed files with 20 additions and 19 deletions

View File

@@ -22,14 +22,14 @@ test.beforeEach((t) => {
})
test.serial('Create a folder', (t) => {
const stoargeKey = t.context.storage.cache.key
const storageKey = t.context.storage.cache.key
const input = {
name: 'created',
color: '#ff5555'
}
return Promise.resolve()
.then(function doTest () {
return createFolder(stoargeKey, input)
return createFolder(storageKey, input)
})
.then(function assert (data) {
t.true(_.find(data.storage.folders, input) != null)