Skip to content

Commit 6dea1ca

Browse files
Verify that the XSRF-TOKEN cookie is now set on Inertia requests
1 parent a6008ff commit 6dea1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/inertia/request_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113

114114
context 'it is an inertia call' do
115115
let(:headers){ { 'X-Inertia' => true } }
116-
it { is_expected.not_to include('XSRF-TOKEN') }
116+
it { is_expected.to include('XSRF-TOKEN') }
117117
end
118118
end
119119

0 commit comments

Comments
 (0)