Sha256: aca3cedf6ec5b520a57b80a4964856d26748c91a15741763b237798150fb6255

Contents?: true

Size: 667 Bytes

Versions: 2

Compression:

Stored size: 667 Bytes

Contents

need_gems = false

lib_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
$:.unshift(lib_dir) unless $:.include?(lib_dir)
test_dir = File.dirname(__FILE__)
$:.unshift(test_dir) unless $:.include?(test_dir)

# allows testing with edge Haml by creating a test/haml symlink
linked_haml = File.dirname(__FILE__) + '/haml'

if File.exists?(linked_haml) && !$:.include?(linked_haml + '/lib')
  puts "[ using linked Haml ]"
  $:.unshift linked_haml + '/lib'
  require 'sass'
else
  need_gems = true
end

require 'rubygems' if need_gems

require 'compass'

require 'test/unit'

require 'test_case_helper'
require 'io_helper'
require 'command_line_helper'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass-edge-0.9.1 test/test_helper.rb
compass-edge-0.10.0.pre test/test_helper.rb