Sha256: 7ab6a515d92364e83a9060766b2ec9db48296d494cc51fcd388c3e63dbb915eb
Contents?: true
Size: 819 Bytes
Versions: 17
Compression:
Stored size: 819 Bytes
Contents
require 'bundler' begin Bundler.setup(:default, :xzibit, :test) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'juwelier' require 'mocha' require 'output_catcher' require 'timecop' require 'ruby-debug' require 'active_support' require 'test/unit/assertions' World(Test::Unit::Assertions) require 'construct' World(Construct::Helpers) def yank_task_info(content, task) if content =~ /#{Regexp.escape(task)}.new(\(.*\))? do \|(.*?)\|(.*?)^end$/m [$2, $3] end end def yank_group_info(content, group) if content =~ /group :#{group} do(.*?)end/m $1 end end def fixture_dir File.expand_path File.join(File.dirname(__FILE__), '..', '..', 'test', 'fixtures') end After do Timecop.return end
Version data entries
17 entries across 17 versions & 1 rubygems