We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 086be28 commit 3d64bb4Copy full SHA for 3d64bb4
sentry-rails/spec/spec_helper.rb
@@ -54,11 +54,7 @@
54
config.include(Sentry::Rails::TestHelper)
55
56
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
+ Sentry::Rails::Test::Application.load_test_schema
62
end
63
64
config.before :each do
sentry-rails/spec/support/test_helper.rb
@@ -10,13 +10,6 @@ module TestHelper
10
11
include Sentry::TestHelper
12
13
- def with_app(&block)
14
- app = Test::Application.define do |app|
15
- yield(app)
16
17
- app.cleanup!
18
19
-
20
def make_basic_app(&block)
21
Test::Application.define do |app|
22
app.initializer :configure_sentry do
0 commit comments