Sha256: e1e4f518d919f223c4ce746251a05e102f12417c4fb617a3a51fefe6bb7905af
Contents?: true
Size: 549 Bytes
Versions: 4
Compression:
Stored size: 549 Bytes
Contents
module UnitTests module ActiveRecordVersions def self.configure_example_group(example_group) example_group.include(self) example_group.extend(self) end def active_record_version Tests::Version.new(::ActiveRecord::VERSION::STRING) end def active_record_supports_enum? defined?(::ActiveRecord::Enum) end def active_record_supports_has_secure_password? active_record_version >= 3.1 end def active_record_supports_array_columns? active_record_version > 4.2 end end end
Version data entries
4 entries across 4 versions & 1 rubygems