Sha256: a0fc17f26aff4a127d3302dc5dd87aceb3870a561c80bcdcf4772bda7ca3605e
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 Bytes
Contents
# encoding: utf-8 $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) if ENV['coverage'] raise "simplecov only works on Ruby 1.9" unless RUBY_VERSION =~ /^1\.9/ require 'simplecov' SimpleCov.start { add_filter "spec/" } end require 'rspec' require 'gametel' require 'coveralls' Coveralls.wear! def brazenhead_platform(gametel) platform = Gametel::Platforms::BrazenheadPlatform.new gametel.instance_variable_set(:@platform, platform) platform.stub(:accumulator).and_return(accumulator) platform end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gametel-0.8 | spec/spec_helper.rb |
gametel-0.7 | spec/spec_helper.rb |