Sha256: 594df64f2bf1349bdd5e4ced80b791d1cf04c188a2caaf07046715e73b58a5ee
Contents?: true
Size: 790 Bytes
Versions: 5
Compression:
Stored size: 790 Bytes
Contents
require "simplecov" SimpleCov.start require "pry" require "bundler/setup" require "combustion" Combustion.initialize! :all require "rspec/rails" require "scorpion" require "scorpion/rspec" root_path = File.expand_path( "../..", __FILE__ ) # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[ File.join( root_path, "spec/support/**/*.rb" ) ].each { |f| require f } RSpec.configure do |config| config.order = "random" config.filter_run focus: true config.filter_run_excluding :broken => true config.run_all_when_everything_filtered = true config.before(:each) { GC.disable } config.after(:each) { GC.enable } config.before( :each, type: :model ) do [ Todo, Author ].each(&:destroy_all) end end
Version data entries
5 entries across 5 versions & 1 rubygems