Load JasmineHelper overrides in jasmine_meta_spec
This commit is contained in:
parent
692ae5980a
commit
3891b8afe4
|
@ -1,6 +1,10 @@
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require "selenium_rc"
|
require "selenium_rc"
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "jasmine_helper.rb"))
|
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_runner.rb"))
|
||||||
require File.expand_path(File.join(File.dirname(__FILE__), "jasmine_spec_builder"))
|
require File.expand_path(File.join(File.dirname(__FILE__), "jasmine_spec_builder"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue