Sha256: 18fcf0a459a29123928209a5606c04d56a97a06850ecd03f5b6868c20636326f
Contents?: true
Size: 749 Bytes
Versions: 7
Compression:
Stored size: 749 Bytes
Contents
require 'simplecov' require 'klomp' require 'rspec' require 'rspec-given' Dir[File.expand_path('../support/', __FILE__) + '/*.rb'].each {|f| require f } module Frames def frame(type) File.read(File.expand_path("../frames/#{type}.txt", __FILE__)) end end def queue_available? s = TCPSocket.new 'localhost', 61613 true rescue false ensure s && s.close end RSpec.configure do |config| config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus config.filter_run_excluding :acceptance unless queue_available? if ENV['PERF'] config.filter_run :performance else config.filter_run_excluding :performance end config.include Frames end
Version data entries
7 entries across 7 versions & 1 rubygems