Sha256: c52edfd93b43c29dcecb45d14e802759ffe0c053ddfbd8074ec54e62af4950d5
Contents?: true
Size: 1.12 KB
Versions: 18
Compression:
Stored size: 1.12 KB
Contents
# Output the message to the console # Useful for debugging as clearly visible, and name is not used anywhere else in library as opposed to debug or puts def console(message) puts "\033[31m[#{Time.now.strftime('%H:%M:%S.%L')}]\033[0m \033[33m#{message}\033[0m" end unless RUBY_VERSION.match(/^1\./) require 'simplecov' SimpleCov.start do require 'simplecov-lcov' SimpleCov::Formatter::LcovFormatter.config do |c| c.report_with_single_file = true c.single_report_path = 'coverage/lcov.info' end formatter SimpleCov::Formatter::LcovFormatter add_filter %w[vendor spec] end end require 'webmock/rspec' require 'ably' require 'support/api_helper' require 'support/debug_failure_helper' require 'support/event_emitter_helper' require 'support/private_api_formatter' require 'support/protocol_helper' require 'support/random_helper' require 'support/serialization_helper' require 'support/test_logger_helper' require 'rspec_config' # EM Helper must be loaded after rspec_config to ensure around block occurs before RSpec retry require 'support/event_machine_helper' require 'support/rest_testapp_before_retry'
Version data entries
18 entries across 18 versions & 2 rubygems