File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ module Concurrent
142
142
end
143
143
end
144
144
145
- if Concurrent . allow_c_extensions ?
145
+ if Concurrent . c_extensions_loaded ?
146
146
RSpec . describe CAtomicBoolean do
147
147
it_should_behave_like :atomic_boolean
148
148
end
@@ -165,7 +165,7 @@ module Concurrent
165
165
it 'inherits from JavaAtomicBoolean' do
166
166
expect ( AtomicBoolean . ancestors ) . to include ( JavaAtomicBoolean )
167
167
end
168
- elsif Concurrent . allow_c_extensions ?
168
+ elsif Concurrent . c_extensions_loaded ?
169
169
it 'inherits from CAtomicBoolean' do
170
170
expect ( AtomicBoolean . ancestors ) . to include ( CAtomicBoolean )
171
171
end
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ module Concurrent
204
204
end
205
205
end
206
206
207
- if Concurrent . allow_c_extensions ?
207
+ if Concurrent . c_extensions_loaded ?
208
208
RSpec . describe CAtomicFixnum do
209
209
it_should_behave_like :atomic_fixnum
210
210
end
@@ -227,7 +227,7 @@ module Concurrent
227
227
it 'inherits from JavaAtomicFixnum' do
228
228
expect ( AtomicFixnum . ancestors ) . to include ( JavaAtomicFixnum )
229
229
end
230
- elsif Concurrent . allow_c_extensions ?
230
+ elsif Concurrent . c_extensions_loaded ?
231
231
it 'inherits from CAtomicFixnum' do
232
232
expect ( AtomicFixnum . ancestors ) . to include ( CAtomicFixnum )
233
233
end
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ module Concurrent
163
163
it_should_behave_like :atomic_reference
164
164
end
165
165
166
- if Concurrent . allow_c_extensions ?
166
+ if Concurrent . c_extensions_loaded ?
167
167
RSpec . describe CAtomicReference do
168
168
it_should_behave_like :atomic_reference
169
169
end
@@ -190,7 +190,7 @@ module Concurrent
190
190
it 'inherits from JavaAtomicReference' do
191
191
expect ( described_class . ancestors ) . to include ( Concurrent ::JavaAtomicReference )
192
192
end
193
- elsif Concurrent . allow_c_extensions ?
193
+ elsif Concurrent . c_extensions_loaded ?
194
194
it 'inherits from CAtomicReference' do
195
195
expect ( described_class . ancestors ) . to include ( Concurrent ::CAtomicReference )
196
196
end
You can’t perform that action at this time.
0 commit comments