Sha256: dc1cd0a3a5120decee8dcacde0726bcbebfc90f6bea0571e3665b11498117db7

Contents?: true

Size: 451 Bytes

Versions: 1

Compression:

Stored size: 451 Bytes

Contents

require "bacon"
require "mocha-on-bacon"

__LIB_PATH__ = File.join(File.dirname(__FILE__), "..")
$: << __LIB_PATH__

require "pry"
require "necro"


def necro_config
  if Necro.const_defined?(:CONFIG)
    Necro::CONFIG
  else
    Necro.const_set(:CONFIG, mock())
    Necro::CONFIG
  end
end

def necro_commander
  if Necro.const_defined?(:COMMANDER)
    Necro::COMMANDER
  else
    Necro.const_set(:COMMANDER, mock())
    Necro::COMMANDER
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
necro-0.0.2 spec/spec_helper.rb