Sha256: aaa788f46cbb0385f707630263e5a3635d2d743affd5a3212dd6e5903cf5e390
Contents?: true
Size: 746 Bytes
Versions: 4
Compression:
Stored size: 746 Bytes
Contents
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 def expected_number_class 5.class == Integer ? Integer : Fixnum end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
market_bot-1.3.1 | spec/spec_helper.rb |
market_bot-1.3.0 | spec/spec_helper.rb |
market_bot-1.2.0 | spec/spec_helper.rb |
market_bot-1.1.0 | spec/spec_helper.rb |