Sha256: ffffa7fe67b0e2ce72fd5d0d19d2b3439ec79e6000e1af85209f1ee0a4d21b29
Contents?: true
Size: 473 Bytes
Versions: 28
Compression:
Stored size: 473 Bytes
Contents
$:.unshift File.expand_path("../lib",__FILE__) require "valid_email2" # Include and configure benchmark require 'rspec-benchmark' RSpec.configure do |config| config.include RSpec::Benchmark::Matchers end RSpec::Benchmark.configure do |config| config.disable_gc = true end class TestModel include ActiveModel::Validations def initialize(attributes = {}) @attributes = attributes end def read_attribute_for_validation(key) @attributes[key] end end
Version data entries
28 entries across 28 versions & 1 rubygems