# This is based on Florian Weber's TDDMate

ENV['TM_PROJECT_DIRECTORY'] ||= File.dirname(ENV['TM_FILEPATH'])

$LOAD_PATH.unshift(File.dirname(__FILE__) + '/..')

require 'rspec/mate/runner'
require 'rspec/mate/switch_command'

# This is based on Florian Weber's TDDMate

ENV['TM_PROJECT_DIRECTORY'] ||= File.dirname(ENV['TM_FILEPATH'])

require_relative 'mate/runner'
require_relative 'mate/switch_command'

Use require_relative instead of messing with $LOAD_PATH
Use require_relative instead of messing with $LOAD_PATH
