Load JasmineHelper overrides in jasmine_meta_spec

This commit is contained in:
ragaskar 2009-11-25 18:47:22 -08:00
parent 692ae5980a
commit 3891b8afe4
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
require 'rubygems'
require "selenium_rc"
require File.expand_path(File.join(File.dirname(__FILE__), "jasmine_helper.rb"))
helper_overrides = File.expand_path(File.join(Dir.pwd, "spec", "helpers", "jasmine_helper.rb"))
if File.exist?(helper_overrides)
require helper_overrides
end
require File.expand_path(File.join(File.dirname(__FILE__), "jasmine_runner.rb"))
require File.expand_path(File.join(File.dirname(__FILE__), "jasmine_spec_builder"))