Sha256: 8196ec485db8a5e8255313a1a7899b0624d381b2c91d6fa8bd176361afab4330
Contents?: true
Size: 1000 Bytes
Versions: 7
Compression:
Stored size: 1000 Bytes
Contents
require "simplecov" if ENV[ "COVERAGE" ] require "codeclimate-test-reporter" CodeClimate::TestReporter.start else SimpleCov.start end require "pry" require "bundler/setup" require "shamu" require "shamu/rspec" require "scorpion/rspec" require "rspec/wait" require "rspec/its" 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_gems_from_backtrace "activesupport", "actionpack", "actionview", "scorpion-ioc", "rspec-wait" config.filter_run focus: true config.filter_run_excluding :broken => true config.run_all_when_everything_filtered = true config.include Scorpion::Rspec::Helper config.extend Support::ActiveRecord config.before(:all) do Shamu::Security.private_key = SecureRandom.base64( 128 ) end end
Version data entries
7 entries across 7 versions & 1 rubygems