Sha256: 5cdda1b4fc134f65a83613d07581b1db609829300005250a17573769ac62b0b1

Contents?: true

Size: 375 Bytes

Versions: 9

Compression:

Stored size: 375 Bytes

Contents

# this is my favorite way to require ever
begin
  require 'rspec'
rescue LoadError
  require 'rubygems'
  gem 'rspec'
  require 'rspec'
end

begin
  require 'mocha'
rescue LoadError
  require 'rubygems'
  gem 'mocha'
  require 'mocha'
end

Rspec.configure do |config|
  config.mock_with :mocha
end

$:.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
linode-0.7.8 spec/spec_helper.rb
linode-0.7.7 spec/spec_helper.rb
linode-0.7.6 spec/spec_helper.rb
linode-0.7.5 spec/spec_helper.rb
linode-0.7.4 spec/spec_helper.rb
linode-0.7.3 spec/spec_helper.rb
linode-0.7.1 spec/spec_helper.rb
linode-0.7.0 spec/spec_helper.rb
linode-0.6.3 spec/spec_helper.rb