Sha256: 54e47fb53bea7fd64d0fa10ea1c9df0bd77a90ebff17d56c7fc464e7a8b7552e

Contents?: true

Size: 356 Bytes

Versions: 18

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true
$:.unshift File.expand_path("../lib",__FILE__)
require "email_assessor"

class TestModel
  include ActiveModel::Validations

  def initialize(attributes = {})
    @attributes = attributes
  end

  def email=(email)
    @attributes[:email] = email
  end

  def read_attribute_for_validation(key)
    @attributes[key]
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
email_assessor-0.9.1 spec/spec_helper.rb
email_assessor-0.8.3 spec/spec_helper.rb
email_assessor-0.8.2 spec/spec_helper.rb
email_assessor-0.8.1 spec/spec_helper.rb
email_assessor-0.8.0 spec/spec_helper.rb
email_assessor-0.7.1 spec/spec_helper.rb
email_assessor-0.7.0 spec/spec_helper.rb
email_assessor-0.6.0 spec/spec_helper.rb
email_assessor-0.5.0 spec/spec_helper.rb
email_assessor-0.4.13 spec/spec_helper.rb
email_assessor-0.4.12 spec/spec_helper.rb
email_assessor-0.4.11 spec/spec_helper.rb
email_assessor-0.4.10 spec/spec_helper.rb
email_assessor-0.4.9 spec/spec_helper.rb
email_assessor-0.4.8 spec/spec_helper.rb
email_assessor-0.4.7 spec/spec_helper.rb
email_assessor-0.4.6 spec/spec_helper.rb
email_assessor-0.4.5 spec/spec_helper.rb