Sha256: 773443c7d0cac40e0c031ea752d633bd48fbb0e0707613a24f215f6b71bf2ce9

Contents?: true

Size: 326 Bytes

Versions: 17

Compression:

Stored size: 326 Bytes

Contents

$:.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

17 entries across 17 versions & 1 rubygems

Version Path
email_assessor-0.4.4 spec/spec_helper.rb
email_assessor-0.4.3 spec/spec_helper.rb
email_assessor-0.4.2 spec/spec_helper.rb
email_assessor-0.4.1 spec/spec_helper.rb
email_assessor-0.4.0 spec/spec_helper.rb
email_assessor-0.3.9 spec/spec_helper.rb
email_assessor-0.3.8 spec/spec_helper.rb
email_assessor-0.3.7 spec/spec_helper.rb
email_assessor-0.3.6 spec/spec_helper.rb
email_assessor-0.3.5 spec/spec_helper.rb
email_assessor-0.3.4 spec/spec_helper.rb
email_assessor-0.3.3 spec/spec_helper.rb
email_assessor-0.3.2 spec/spec_helper.rb
email_assessor-0.3.1 spec/spec_helper.rb
email_assessor-0.3 spec/spec_helper.rb
email_assessor-0.2.1 spec/spec_helper.rb
email_assessor-0.2 spec/spec_helper.rb