Sha256: 1ba356e2e23155a1cf59885119f7863a563c12648abd0fa6617fbfe8b80228f6

Contents?: true

Size: 347 Bytes

Versions: 2

Compression:

Stored size: 347 Bytes

Contents

require 'activevalidators'

%w(models).each do |directory|
  Dir["#{File.dirname(__FILE__)}/#{directory}/*.rb"].each {|f| require f}
end

RSpec.configure do |config|
end

class TestRecord
  include ActiveModel::Validations
  attr_accessor :ip, :url, :slug, :responder, :global_condition,
    :local_condition, :phone, :email, :card, :password
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activevalidators-1.2.3 spec/spec_helper.rb
activevalidators-1.2.2 spec/spec_helper.rb