Sha256: 2a514023c9af07460454bf6cdd73e0966caf0f9e6dfa038e91d271396547afbb

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

if ENV['COVERAGE']
  require 'simplecov'

  SimpleCov.start do
    enable_coverage :branch
    add_filter %r{^/test/}
  end
end

$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
require "redgraph"

require "minitest/autorun"
require "pry"

unless $REDIS_URL = ENV['TEST_REDIS_URL']
  puts "To run the tests you need to define the TEST_REDIS_URL environment variable"
  exit(1)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redgraph-0.1.3 test/test_helper.rb
redgraph-0.1.2 test/test_helper.rb