Skip to content

Commit 3d64bb4

Browse files
committed
WIP
1 parent 086be28 commit 3d64bb4

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

sentry-rails/spec/spec_helper.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@
5454
config.include(Sentry::Rails::TestHelper)
5555

5656
config.before :suite do
57-
Sentry::Rails::TestHelper.with_app do |app|
58-
app.initializer :load_test_schema do
59-
app.load_test_schema
60-
end
61-
end
57+
Sentry::Rails::Test::Application.load_test_schema
6258
end
6359

6460
config.before :each do

sentry-rails/spec/support/test_helper.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ module TestHelper
1010

1111
include Sentry::TestHelper
1212

13-
def with_app(&block)
14-
app = Test::Application.define do |app|
15-
yield(app)
16-
end
17-
app.cleanup!
18-
end
19-
2013
def make_basic_app(&block)
2114
Test::Application.define do |app|
2215
app.initializer :configure_sentry do

0 commit comments

Comments
 (0)