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.
2 parents cdef810 + 388454c commit f7a27f4Copy full SHA for f7a27f4
lib/active_resource/railtie.rb
@@ -27,5 +27,11 @@ class Railtie < Rails::Railtie
27
app.deprecators[:active_resource] = ActiveResource.deprecator
28
end
29
30
+
31
+ initializer "active_resource.http_mock" do
32
+ ActiveSupport.on_load(:active_support_test_case) do
33
+ teardown { ActiveResource::HttpMock.reset! }
34
+ end
35
36
37
0 commit comments