Sha256: d65b1bdac7f37f4d83a2e41abaea322979c6653cdb8f57b0b4f7b080da4726ab

Contents?: true

Size: 762 Bytes

Versions: 11

Compression:

Stored size: 762 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/private_api_formatter'
require 'support/protocol_helper'
require 'support/random_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

11 entries across 11 versions & 2 rubygems

Version Path
ably-rest-1.0.5 lib/submodules/ably-ruby/spec/spec_helper.rb
ably-1.0.5 spec/spec_helper.rb
ably-1.0.4 spec/spec_helper.rb
ably-1.0.3 spec/spec_helper.rb
ably-1.0.2 spec/spec_helper.rb
ably-1.0.1 spec/spec_helper.rb
ably-rest-1.0.0 lib/submodules/ably-ruby/spec/spec_helper.rb
ably-1.0.0 spec/spec_helper.rb
ably-rest-0.9.3 lib/submodules/ably-ruby/spec/spec_helper.rb
ably-rest-0.9.2 lib/submodules/ably-ruby/spec/spec_helper.rb
ably-rest-0.9.1 lib/submodules/ably-ruby/spec/spec_helper.rb