Automatically roll up any js files in spec/helpers and add them as spec_helpers

This commit is contained in:
ragaskar
2009-10-31 22:35:35 -07:00
parent fcc1872d48
commit 7c043eb5d0
5 changed files with 16 additions and 5 deletions

View File

@@ -8,7 +8,8 @@ require File.expand_path(File.join(JasmineHelper.jasmine_root, "contrib/ruby/jas
jasmine_runner = Jasmine::Runner.new(SeleniumRC::Server.new.jar_path,
JasmineHelper.spec_file_urls,
JasmineHelper.dir_mappings)
JasmineHelper.dir_mappings,
:spec_helpers => JasmineHelper.spec_helpers)
spec_builder = Jasmine::SpecBuilder.new(JasmineHelper.raw_spec_files, jasmine_runner)