Bug #12270 » tdiary-stackprof.patch
Gemfile | ||
---|---|---|
gem 'emot'
|
||
gem 'mail'
|
||
gem 'rake'
|
||
gem 'stackprof'
|
||
group :development do
|
||
gem 'pit', require: false
|
Gemfile.lock | ||
---|---|---|
concurrent-ruby (~> 1.0)
|
||
rack (> 1, < 3)
|
||
sqlite3 (1.3.11)
|
||
stackprof (0.2.8)
|
||
term-ansicolor (1.3.2)
|
||
tins (~> 1.0)
|
||
test-unit (3.1.8)
|
||
... | ... | |
simplecov
|
||
sprockets
|
||
sqlite3
|
||
stackprof
|
||
test-unit
|
||
BUNDLED WITH
|
spec/spec_helper.rb | ||
---|---|---|
end
|
||
require 'tdiary'
|
||
require 'stackprof'
|
||
RSpec.configure do |config|
|
||
config.expect_with :rspec do |c|
|
||
c.syntax = :expect
|
||
end
|
||
config.before(:each) do
|
||
StackProf.start
|
||
end
|
||
config.after(:each) do
|
||
StackProf.stop
|
||
end
|
||
config.after(:suite) do
|
||
StackProf.results('tmp/tdiary.dump')
|
||
end
|
||
end
|
||
class DummyTDiary
|