Sha256: 87530e2e663567e62ae530635e58b601552b7044d5fa269f1e191da7534afdda
Contents?: true
Size: 834 Bytes
Versions: 5
Compression:
Stored size: 834 Bytes
Contents
# frozen_string_literal: true require 'simplecov' SimpleCov.start do add_filter '/spec/' end require 'pry-nav' require 'azeroth' require 'active_record' ActiveRecord::Base.establish_connection( adapter: 'sqlite3', database: ':memory:' ) require File.expand_path('spec/dummy/config/environment') require File.expand_path('spec/dummy/db/schema.rb') require 'rspec/rails' require 'active_support/railtie' support_files = File.expand_path('spec/support/**/*.rb') Dir[support_files].each { |file| require file } RSpec.configure do |config| config.infer_spec_type_from_file_location! config.run_all_when_everything_filtered = true config.filter_run :focus config.filter_run_excluding :integration unless ENV['ALL'] config.order = 'random' config.around do |example| Document.delete_all example.run end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
azeroth-0.3.0 | spec/spec_helper.rb |
azeroth-0.2.0 | spec/spec_helper.rb |
azeroth-0.1.0 | spec/spec_helper.rb |
azeroth-0.0.7 | spec/spec_helper.rb |
azeroth-0.0.6 | spec/spec_helper.rb |