File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ module Concurrent
142142 end
143143 end
144144
145- if Concurrent . allow_c_extensions ?
145+ if Concurrent . c_extensions_loaded ?
146146 RSpec . describe CAtomicBoolean do
147147 it_should_behave_like :atomic_boolean
148148 end
@@ -165,7 +165,7 @@ module Concurrent
165165 it 'inherits from JavaAtomicBoolean' do
166166 expect ( AtomicBoolean . ancestors ) . to include ( JavaAtomicBoolean )
167167 end
168- elsif Concurrent . allow_c_extensions ?
168+ elsif Concurrent . c_extensions_loaded ?
169169 it 'inherits from CAtomicBoolean' do
170170 expect ( AtomicBoolean . ancestors ) . to include ( CAtomicBoolean )
171171 end
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ module Concurrent
204204 end
205205 end
206206
207- if Concurrent . allow_c_extensions ?
207+ if Concurrent . c_extensions_loaded ?
208208 RSpec . describe CAtomicFixnum do
209209 it_should_behave_like :atomic_fixnum
210210 end
@@ -227,7 +227,7 @@ module Concurrent
227227 it 'inherits from JavaAtomicFixnum' do
228228 expect ( AtomicFixnum . ancestors ) . to include ( JavaAtomicFixnum )
229229 end
230- elsif Concurrent . allow_c_extensions ?
230+ elsif Concurrent . c_extensions_loaded ?
231231 it 'inherits from CAtomicFixnum' do
232232 expect ( AtomicFixnum . ancestors ) . to include ( CAtomicFixnum )
233233 end
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ module Concurrent
163163 it_should_behave_like :atomic_reference
164164 end
165165
166- if Concurrent . allow_c_extensions ?
166+ if Concurrent . c_extensions_loaded ?
167167 RSpec . describe CAtomicReference do
168168 it_should_behave_like :atomic_reference
169169 end
@@ -190,7 +190,7 @@ module Concurrent
190190 it 'inherits from JavaAtomicReference' do
191191 expect ( described_class . ancestors ) . to include ( Concurrent ::JavaAtomicReference )
192192 end
193- elsif Concurrent . allow_c_extensions ?
193+ elsif Concurrent . c_extensions_loaded ?
194194 it 'inherits from CAtomicReference' do
195195 expect ( described_class . ancestors ) . to include ( Concurrent ::CAtomicReference )
196196 end
You can’t perform that action at this time.
0 commit comments