Skip to content

Commit 005de89

Browse files
committed
chore: update tests after merge
1 parent c0d938a commit 005de89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/inertia/rendering_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
RSpec.describe 'rendering inertia views', type: :request do
22
subject { response.body }
33

4-
let(:controller) { ApplicationController.new }
4+
let(:controller) { ApplicationController.new.tap { |controller| controller.set_request!(request) } }
55

66
context 'first load' do
77
let(:page) { InertiaRails::Renderer.new('TestComponent', controller, request, response, '').send(:page) }

0 commit comments

Comments
 (0)