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

@@ -14,7 +14,8 @@ if ARGV[0] == 'server'
puts " http://localhost:8888/run.html"
Jasmine::SimpleServer.start(8888,
lambda { JasmineHelper.specs },
JasmineHelper.dir_mappings)
JasmineHelper.dir_mappings,
:spec_helpers => JasmineHelper.spec_helpers)
end
if ARGV[0] == 'init'