Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Oct 17, 2024
1 parent 93d8cea commit c8df8cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sentry-rails/spec/dummy/test_rails_app/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ class TestApp < Rails::Application
require "dummy/test_rails_app/configs/#{FILE_NAME}"

def make_basic_app(&block)
start_time = Process.clock_gettime(Process::CLOCK_MONOTONIC)
_make_basic_app(&block)
end_time = Process.clock_gettime(Process::CLOCK_MONOTONIC)
elapsed_time = end_time - start_time
puts "MAKE BASIC APP: #{elapsed_time} seconds"
end

def _make_basic_app(&block)
run_pre_initialize_cleanup

app = Class.new(TestApp) do
Expand Down

0 comments on commit c8df8cd

Please sign in to comment.