Sha256: 9ed6f62184b27cc618d09a6911d205526e35e7fb7c45c5d55af2f3f308622125
Contents?: true
Size: 615 Bytes
Versions: 2
Compression:
Stored size: 615 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'encodable_validator' require 'active_model' require 'simplecov' SimpleCov.start do add_group 'Lib', 'lib' end # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| end class TestRecord include ActiveModel::Validations attr_accessor :target_text def initialize(target_text) @target_text = target_text end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
encodable_validator-0.2.0 | spec/spec_helper.rb |
encodable_validator-0.1.0 | spec/spec_helper.rb |