This commit is contained in:
Nathan Sobo
2013-01-24 17:01:06 -07:00
committed by Kevin Sawicki
parent ea65c63862
commit 59ac9de8c3

View File

@@ -218,7 +218,7 @@ describe "Snippets extension", ->
snippets.loaded = false
snippets.loadAll()
waitsFor((-> snippets.loaded), "Waiting for all snippets to load", 5000)
waitsFor "all snippets to load", 5000, -> snippets.loaded
runs ->
expect(syntax.getProperty(['.test'], 'snippets.test')?.constructor).toBe Snippet
@@ -232,7 +232,7 @@ describe "Snippets extension", ->
snippets.loaded = false
snippets.loadAll()
waitsFor((-> snippets.loaded), "Waiting for all snippets to load", 5000)
waitsFor "all snippets to load", 5000, -> snippets.loaded
runs ->
snippet = syntax.getProperty(['.source.js'], 'snippets.fun')