mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
debug test works on jruby
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@680 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
8fd6554088
commit
a3ccea20cb
1 changed files with 4 additions and 10 deletions
|
@ -4,23 +4,17 @@
|
|||
# Additional work donated by contributors. See http://mongrel.rubyforge.org/attributions.html
|
||||
# for more information.
|
||||
|
||||
require 'fileutils'
|
||||
FileUtils.mkdir_p "log/mongrel_debug"
|
||||
|
||||
require 'test/unit'
|
||||
require 'mongrel/rails'
|
||||
require 'mongrel/debug'
|
||||
|
||||
require 'fileutils'
|
||||
|
||||
class MongrelDbgTest < Test::Unit::TestCase
|
||||
|
||||
def setup
|
||||
FileUtils.rm_rf "log/mongrel_debug"
|
||||
MongrelDbg::configure
|
||||
end
|
||||
|
||||
|
||||
def test_tracing_to_log
|
||||
FileUtils.rm_rf "log/mongrel_debug"
|
||||
|
||||
MongrelDbg::configure
|
||||
out = StringIO.new
|
||||
|
||||
MongrelDbg::begin_trace(:rails)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue