@root_dir = File.expand_path(File.join(File.dirname(__FILE__), "../../")) $: << File.join(@root_dir, "lib") $: << File.join(@root_dir, "spec") $: << File.join(@root_dir, "spec/patches") $: << File.join(@root_dir, "spec/support") require 'rake/tasklib' require 'lib/rake/support/albacoretask.rb' require 'lib/rake/support/createtask.rb' require 'lib/albacore/support/globalconfig.rb' require 'not_a_mock' require 'system_patch' require 'fail_patch' Spec::Runner.configure do |config| config.mock_with NotAMock::RspecMockFrameworkAdapter end