Sha256: d1558255d0798eb0dbef984724525b26b97b872cc7e1c48f3ef30dec61fb6d52
Contents?: true
Size: 798 Bytes
Versions: 7
Compression:
Stored size: 798 Bytes
Contents
Encoding.default_external = Encoding::UTF_8 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) # Configure simplecov gem (must be here at top of file) require 'simplecov' SimpleCov.start do add_filter 'spec' # Don't include RSpec stuff add_group 'Types', 'lib/attributor/types' end require 'rspec' require 'attributor' require 'pry' # 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| config.around(:each) do |example| Attributor::AttributeResolver.current = Attributor::AttributeResolver.new example.run Attributor::AttributeResolver.current = nil end end
Version data entries
7 entries across 7 versions & 1 rubygems