Skip to content

Commit 4349026

Browse files
removes old ::InertiaRails.reset! from rspec
1 parent 5da531a commit 4349026

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/inertia_rails/rspec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ def inertia_tests_setup?
6565
}
6666

6767
config.before(:each, inertia: true) do
68-
::InertiaRails.reset!
6968
new_renderer = InertiaRails::Renderer.method(:new)
7069
allow(InertiaRails::Renderer).to receive(:new) do |component, controller, request, response, render, named_args|
7170
new_renderer.call(component, controller, request, response, inertia_wrap_render(render), **named_args)

0 commit comments

Comments
 (0)