Sha256: 294322d214ba38b0d96a317d39ecd3bd04599b7b91d8da50f1065354131717e0

Contents?: true

Size: 909 Bytes

Versions: 2

Compression:

Stored size: 909 Bytes

Contents

$VERBOSE=true

require 'rspec/its'
require 'bogus/rspec'
require 'timeout'

require 'yaks'
require 'yaks-html'
require 'virtus'

require 'fixture_helpers'

require_relative 'support/models'
require_relative 'support/pet_mapper'
require_relative 'support/pet_peeve_mapper'
require_relative 'support/friends_mapper'
require_relative 'support/fixtures'
require_relative 'support/shared_contexts'
require_relative 'support/youtypeit_models_mappers'
require_relative 'support/deep_eql'
require_relative 'support/classes_for_policy_testing'


RSpec.configure do |rspec|
  rspec.include FixtureHelpers
  rspec.backtrace_exclusion_patterns = [] if ENV['FULLSTACK']
  rspec.disable_monkey_patching!
  rspec.raise_errors_for_deprecations!
  rspec.around(:each) do |example|
    Timeout.timeout(1, &example)
  end
end

Bogus.configure do |bogus|
  bogus.search_modules << Yaks
  bogus.search_modules << Yaks::Mapper
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yaks-0.7.3 spec/spec_helper.rb
yaks-0.7.2 spec/spec_helper.rb