Sha256: 12a78151442998314c8e93148a8fff67bb1554b45009769343ec13b59bcffd27

Contents?: true

Size: 545 Bytes

Versions: 6

Compression:

Stored size: 545 Bytes

Contents

require "simplecov"
require "minitest/autorun"
require "minitest/pride"
require "fabrication"

SimpleCov.start do
  command_name "MiniTest::Spec"
  add_filter   "/test/"
end

module MiniTest
  class Spec
    class << self
      alias_method :context, :describe
    end
  end
end

require_relative "./support/vcr_setup.rb"
require_relative "../lib/troo.rb"
require_relative "./support/fabrication.rb"

Ohm.connect(db: Troo.config.test_db)

require "mocha/setup"

def database_cleanup(delay = 0)
  Ohm.redis.flushdb
  sleep delay if delay > 0
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
troo-0.0.7 test/test_helper.rb
troo-0.0.6 test/test_helper.rb
troo-0.0.5 test/test_helper.rb
troo-0.0.4 test/test_helper.rb
troo-0.0.3 test/test_helper.rb
troo-0.0.2 test/test_helper.rb