Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.393 kb
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rubygems'
require 'active_model'
require 'lib/date_validator'
require 'rspec'
require 'rspec/autorun'
class TestRecord
include ActiveModel::Validations
attr_accessor :expiration_date
def initialize(expiration_date)
@expiration_date = expiration_date
end
end
Jump to Line
Something went wrong with that request. Please try again.