RAILS_ENV = 'test' ENV['RAILS_ENV'] = 'test' RAILS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) $LOAD_PATH.unshift(File.join(RAILS_ROOT, 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'lib/trigga/param_fu' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["RAILS_ROOT}/support/**/*.rb"].each {|f| require f}