Skip to content

Commit

Permalink
use turbo library in coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrox committed Jun 2, 2015
1 parent c7cac7b commit a596219
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions spec/unit/commonrequire.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ Input.dummy = true
-- turn on debug
local DEBUG = require("dbg")
--DEBUG:turnOn()

-- use turbo lib in test
DUSE_TURBO_LIB = true
6 changes: 0 additions & 6 deletions spec/unit/httpclient_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ describe("HTTP client module", function()
assert(not res.error, "error occurs")
assert(res.body)
end
setup(function()
DUSE_TURBO_LIB = true
end)
teardown(function()
DUSE_TURBO_LIB = false
end)
local async_client = HTTPClient:new()
it("should get response from async GET request", function()
UIManager:quit()
Expand Down

0 comments on commit a596219

Please sign in to comment.