spec/extensions/spec_helper.rb in sequel-3.22.0 vs spec/extensions/spec_helper.rb in sequel-3.23.0
- old
+ new
@@ -6,11 +6,13 @@
unless Sequel.const_defined?('Model')
$:.unshift(File.join(File.dirname(File.expand_path(__FILE__)), "../../lib/"))
require 'sequel/model'
end
-Sequel.extension(*%w'string_date_time inflector pagination query pretty_table blank migration schema_dumper looser_typecasting sql_expr thread_local_timezones to_dot')
+Sequel.extension(*%w'string_date_time inflector pagination query pretty_table blank migration schema_dumper looser_typecasting sql_expr thread_local_timezones to_dot columns_introspection')
{:hook_class_methods=>[], :schema=>[], :validation_class_methods=>[]}.each{|p, opts| Sequel::Model.plugin(p, *opts)}
+
+Sequel::Dataset.introspect_all_columns if ENV['SEQUEL_COLUMNS_INTROSPECTION']
def skip_warn(s)
warn "Skipping test of #{s}" if ENV["SKIPPED_TEST_WARN"]
end