File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 1414 include :
1515 - ruby-version : head
1616 continue-on-error : true
17- - ruby-version : truffleruby
18- continue-on-error : true
1917
2018 steps :
2119 - uses : actions/checkout@v4
3129
3230 - name : Run tests
3331 run : bundle exec rake
34- continue-on-error : ${{ matrix.continue-on-error || false }}
32+ continue-on-error : ${{ matrix.continue-on-error || false }}
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
2+ require 'action_dispatch/testing/test_request'
23
34class GonTestWorker
45 include Gon ::ControllerHelpers
@@ -7,10 +8,6 @@ def request
78 @request ||= ActionDispatch ::TestRequest . create
89 end
910
10- def env
11- request . env
12- end
13-
1411 def execute
1512 gon . clear
1613 gon . a ||= 1
@@ -23,10 +20,6 @@ def value
2320end
2421
2522describe 'threading behaviour' do
26- before do
27- allow ( Gon ) . to receive ( :current_gon ) . and_call_original
28- end
29-
3023 it 'is threadsafe' do
3124 threads = [ ]
3225 10 . times do
You can’t perform that action at this time.
0 commit comments