Sha256: e8762cc80287aa95ef0b8d56cf803d75689ebe264483a428977d5b39dcbe0bde

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

#!/usr/bin/env ruby
# encoding: UTF-8

require File.expand_path('../test_helper', __FILE__)

class FakeRackApp
  def call(env)
  end
end

class RackTest < Test::Unit::TestCase
  def test_create_print_path
    path = Dir.mktmpdir
    Dir.delete(path)

    Rack::RubyProf.new(FakeRackApp.new, :path => path)

    assert_equal(true, Dir.exist?(path))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-prof-0.15.2 test/rack_test.rb