Skip to content

Commit

Permalink
fix active record testing
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra committed Oct 16, 2024
1 parent edb20c7 commit 8e434dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/orm/active_record.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)

if ActiveRecord::VERSION >= 7
if ActiveRecord::VERSION::MAJOR >= 7
ActiveRecord::MigrationContext.new(
File.expand_path('../../rails_app/db/migrate/', __FILE__)
).migrate
Expand Down

0 comments on commit 8e434dd

Please sign in to comment.