We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b440bbf + bb5344f commit bd1dacbCopy full SHA for bd1dacb
spec/active_record/connection_adapters/oracle_enhanced/context_index_spec.rb
@@ -185,8 +185,6 @@ class ::Post < ActiveRecord::Base
185
186
describe "on multiple tables" do
187
before(:all) do
188
- @old_destroy_all_in_batches = ActiveRecord::Base.destroy_all_in_batches
189
- ActiveRecord::Base.destroy_all_in_batches = true
190
@conn = ActiveRecord::Base.connection
191
create_tables
192
class ::Post < ActiveRecord::Base
@@ -203,7 +201,6 @@ class ::Comment < ActiveRecord::Base
203
201
Object.send(:remove_const, "Comment")
204
202
Object.send(:remove_const, "Post")
205
ActiveRecord::Base.clear_cache!
206
- ActiveRecord::Base.destroy_all_in_batches = @old_destroy_all_in_batches
207
end
208
209
after(:each) do
0 commit comments