Sha256: 0fb3d249f61b4615fc4b3a528489cdbae9e44a509694599035461f6ad90dde16
Contents?: true
Size: 503 Bytes
Versions: 1
Compression:
Stored size: 503 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'fixture_helper' require 'pair/config' # 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| config.before do # Never ask for API token in tests Pair.stub!(:config => stub(:api_token => "xxxx")) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pair-0.0.3 | spec/spec_helper.rb |