Sha256: c4a1fa1c91df3c460f77cee11e71511301634603856fa08ae9547520c9d82b69
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 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' 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 |
---|---|
taiwanese_id_validator-0.0.1 | spec/spec_helper.rb |