Sha256: 7d627f630a25b28637d4db20e12df25f77078cd76fe66711079d5160cb1b9905

Contents?: true

Size: 392 Bytes

Versions: 10

Compression:

Stored size: 392 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'active_model'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'email_validator'

class TestModel
  include ActiveModel::Validations

  def initialize(attributes = {})
    @attributes = attributes
  end
  
  def read_attribute_for_validation(key)
    @attributes[key]
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
email_validator-2.0.1 spec/spec_helper.rb
email_validator-2.0.0 spec/spec_helper.rb
email_validator-1.6.0 spec/spec_helper.rb
email_validator-1.5.0 spec/spec_helper.rb
email_validator-1.4.0 spec/spec_helper.rb
email_validator-1.3.0 spec/spec_helper.rb
email_validator-1.2.4 spec/spec_helper.rb
email_validator-1.2.3 spec/spec_helper.rb
email_validator-1.2.2 spec/spec_helper.rb
email_validator-1.2.1 spec/spec_helper.rb