Sha256: b49cc34ecfe264f8eb10c86947c3bcfe49ef21541fe8dc8809101b3e7c70a04d

Contents?: true

Size: 519 Bytes

Versions: 4

Compression:

Stored size: 519 Bytes

Contents

require 'rubygems'
require 'test/unit'
require 'shoulda'
require 'fakeweb'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'downlow'

class Test::Unit::TestCase
  
  def tmp_dir
    dir = File.join('/tmp', 'downlow')
    FileUtils.mkdir_p(dir)
    dir
  end
  
  def fixture_path(path)
    full_path = File.expand_path(File.join(File.dirname(__FILE__), 'fixtures', path))
  end
  
  def fixture(path)
    File.read(fixture_path(path))
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
downlow-0.1.3 test/helper.rb
downlow-0.1.2 test/helper.rb
downlow-0.1.1 test/helper.rb
downlow-0.1.0 test/helper.rb