test/dummy/config/initializers/migration_class.rb in devise-security-0.15.0 vs test/dummy/config/initializers/migration_class.rb in devise-security-0.16.0

- old
+ new

@@ -1,10 +1,3 @@ # frozen_string_literal: true -if DEVISE_ORM == :active_record - MIGRATION_CLASS = - if Rails.gem_version >= Gem::Version.new('5.0') - ActiveRecord::Migration[Rails.version.to_f] - else - ActiveRecord::Migration - end -end +MIGRATION_CLASS = ActiveRecord::Migration[Rails.version.to_f] if DEVISE_ORM == :active_record