Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 516 Bytes
require 'simplecov'
SimpleCov.start
require 'test/unit'
require 'shoulda'
require 'webmock/test_unit'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'health_graph'
class Test::Unit::TestCase
TEST_USER_TOKEN = "b9aaf2581480432a939a72f894bf".freeze
def fixture(file)
path = File.expand_path("../fixtures", __FILE__)
File.new(path + '/' + file)
end
def json_fixture(file)
file = fixture(file)
JSON.load(file)
end
end