Sha256: 360b4c68ae4574f494126b4950a56309099ef837b144f2656eaf85b623a7d375
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ]) SimpleCov.start { add_filter '/spec/' } require 'lita-alertlogic' require 'lita/rspec' Lita.version_3_compatibility_mode = false RSpec.configure do |config| config.before do registry.register_handler(Lita::Handlers::AlertlogicCustomer) registry.register_handler(Lita::Handlers::AlertlogicLogManager) registry.register_handler(Lita::Handlers::AlertlogicThreatManager) registry.register_handler(Lita::Handlers::AlertlogicMonitoring) registry.register_handler(Lita::Handlers::AlertlogicIncidents) end config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.filter_run :focus config.run_all_when_everything_filtered = true config.default_formatter = 'doc' if config.files_to_run.one? config.order = :random Kernel.srand config.seed end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lita-alertlogic-0.0.1 | spec/spec_helper.rb |