Runs server correctly for self-test.

This commit is contained in:
Christian Williams 2009-12-28 15:16:13 -06:00
parent 73c8fef43e
commit 00c7d3ca29
1 changed files with 2 additions and 1 deletions

View File

@ -18,11 +18,12 @@ class JasmineSelfTestConfig < Jasmine::Config
end
def spec_files
Dir.glob(File.join(spec_dir, "**/*[Ss]pec.js")).collect { |f| f.sub("#{spec_dir}/", "") }
Dir.glob(File.join(spec_dir, "**/*[Ss]pec.js")).collect { |f| f.sub("#{spec_dir}/", "spec/") }
end
def mappings
{
"/src" => src_dir,
"/spec" => spec_dir
}
end