Sha256: eba3f4bb60956a0ad723f0432af200c946efdb2cd4e5ab52efe747f17d012695
Contents?: true
Size: 654 Bytes
Versions: 7
Compression:
Stored size: 654 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib') require 'jeweler' begin require 'mocha' require 'output_catcher' rescue LoadError => e puts "*" * 80 puts "Some dependencies needed to run tests were missing. Run the following command to find them:" puts puts "\trake development_dependencies:check" puts "*" * 80 exit 1 end require 'test/unit/assertions' World(Test::Unit::Assertions) def yank_task_info(content, task) if content =~ /#{Regexp.escape(task)}.new(\(.*\))? do \|(.*?)\|(.*?)end/m [$2, $3] end end def fixture_dir File.expand_path File.join(File.dirname(__FILE__), '..', '..', 'test', 'fixtures') end
Version data entries
7 entries across 7 versions & 4 rubygems