Sha256: ae0fea646cb20ec5403b3f2ada15bd7a45075f75944bf3a4954974d0869ee3e3

Contents?: true

Size: 838 Bytes

Versions: 5

Compression:

Stored size: 838 Bytes

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 'coveralls'
  Coveralls.wear!
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/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

5 entries across 5 versions & 2 rubygems

Version Path
ably-rest-1.1.0 lib/submodules/ably-ruby/spec/spec_helper.rb
ably-1.1.0 spec/spec_helper.rb
ably-1.0.7 spec/spec_helper.rb
ably-rest-1.0.6 lib/submodules/ably-ruby/spec/spec_helper.rb
ably-1.0.6 spec/spec_helper.rb