Sha256: a04dba4f195822139fb79d0d9ecb192d16276388b0ecf7ef31b745fe35c93017

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

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

class TestModel
  include ActiveModel::Validations

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
email_assessor-0.1 spec/spec_helper.rb