Sha256: af3aa22c13d9c52ffc38ce82cc55da6ff2a518d30c964b0c6e6824bbeb141de4

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'active_model'
require 'pry'
require 'coveralls'
Coveralls.wear!

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

require 'national_ids_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

1 entries across 1 versions & 1 rubygems

Version Path
national-ids-validator-1.0.1 spec/spec_helper.rb