Sha256: a9cdef31600857ebf423cf30e9aec285ebb3995aac6a0a41402f276e1c3bf648
Contents?: true
Size: 508 Bytes
Versions: 2
Compression:
Stored size: 508 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 config.default_formatter = 'doc' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
valid_email2-7.0.0 | spec/spec_helper.rb |
valid_email2-6.0.0 | spec/spec_helper.rb |