Sha256: 9791b0449d7e5ac707857b140ef0240cd22fe1f5767e425d0ea39a5756ee4c63
Contents?: true
Size: 394 Bytes
Versions: 10
Compression:
Stored size: 394 Bytes
Contents
require 'rubygems' require 'spec' require 'mocha' lib_path = File.expand_path("#{File.dirname(__FILE__)}/../lib") $LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path) Spec::Runner.configure do |config| config.mock_with :mocha end module Rake class Application def task_names_include?(task_name) tasks.collect{|task| task.name }.include?(task_name) end end end
Version data entries
10 entries across 10 versions & 2 rubygems