Sha256: e2a47626a6364d0c22aed6c54737840f9b5ba2d8e9ddcb19b48f36ceac9db14f
Contents?: true
Size: 435 Bytes
Versions: 2
Compression:
Stored size: 435 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 'taiwanese_id_validator' require 'international_id_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
taiwanese_id_validator-0.0.3 | spec/spec_helper.rb |
taiwanese_id_validator-0.0.2 | spec/spec_helper.rb |