Fetching contributors…
Cannot retrieve contributors at this time
31 lines (23 sloc) 675 Bytes
require 'coveralls'
Coveralls.wear!
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
begin
require 'byebug'
rescue Exception
end
require 'market_bot'
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|
end
Typhoeus.configure do |config|
config.block_connection = true
end
def read_play_data(name)
path = File.join(File.expand_path(File.dirname(__FILE__)),
'market_bot', 'play', 'data', name)
File.read(path)
end