Sha256: e579a869b344160eeceb7c71c8bfb395fbe41e3df1b8431dec4b455409f80887

Contents?: true

Size: 346 Bytes

Versions: 6

Compression:

Stored size: 346 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 < 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

6 entries across 6 versions & 1 rubygems

Version Path
ruby-prof-0.15.8 test/rack_test.rb
ruby-prof-0.15.7 test/rack_test.rb
ruby-prof-0.15.6 test/rack_test.rb
ruby-prof-0.15.5 test/rack_test.rb
ruby-prof-0.15.4 test/rack_test.rb
ruby-prof-0.15.3 test/rack_test.rb