Sha256: c3202dd6aa69035d25cc90d2787efb656eee85bc25242d2c6cbb366b8c6eb3e3
Contents?: true
Size: 399 Bytes
Versions: 36
Compression:
Stored size: 399 Bytes
Contents
module FakeModelWithoutPasswordStrategy def fake_model_without_password_strategy Class.new do include ActiveModel::Validations validates_with UniquenessValidator def self.before_validation(*); end def self.before_create(*); end include Clearance::User end.new end end class UniquenessValidator < ActiveModel::Validator def validate(_record) end end
Version data entries
36 entries across 36 versions & 1 rubygems