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.
1 parent 8b1959c commit a3db6a3Copy full SHA for a3db6a3
spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb
@@ -393,17 +393,18 @@ class ::TestEmployee < ActiveRecord::Base; end
393
schema_define do
394
create_table :test_employees, force: true
395
end
396
+ class ::TestEmployee < ActiveRecord::Base; end
397
398
399
after(:each) do
400
401
drop_table :test_employees, if_exists: true
402
403
+ Object.send(:remove_const, "TestEmployee")
404
+ ActiveRecord::Base.clear_cache!
405
406
407
it "should add created_at and updated_at" do
- class ::TestEmployee < ActiveRecord::Base; end
-
408
expect do
409
@conn.add_timestamps("test_employees")
410
end.not_to raise_error
0 commit comments