Sha256: 78965ebc6fd76456f83243a9db56c422cfb570680474fa0e58fac7747b414834

Contents?: true

Size: 301 Bytes

Versions: 3

Compression:

Stored size: 301 Bytes

Contents

$:.unshift File.expand_path("../lib",__FILE__)
require "coveralls"
Coveralls.wear!
require "valid_email2"

class TestModel
  include ActiveModel::Validations

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
valid_email2-1.1.0 spec/spec_helper.rb
valid_email2-1.0.0 spec/spec_helper.rb
valid_email2-0.0.4 spec/spec_helper.rb