$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'bonsai' require 'rspec' require 'rspec/autorun' RSpec.configure do |config| Bonsai.config = { :enable_logging => false } BONSAI_PATH = "#{File.dirname(__FILE__)}/support" unless defined? BONSAI_PATH Bonsai.root_dir = BONSAI_PATH end