$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'ankh' require 'rspec' require 'mocha' ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../') RSpec.configure do |config| config.mock_with :mocha end