Simplify mapping

This commit is contained in:
ragaskar
2009-11-25 18:43:51 -08:00
parent 2b9667c82e
commit 692ae5980a
4 changed files with 20 additions and 17 deletions
+1 -8
View File
@@ -32,14 +32,7 @@ class JasmineHelper
def self.spec_helpers
spec_helpers_files.collect {|f| f.sub(spec_dir, "/spec")}
end
def self.dir_mappings
{
"/spec" => spec_dir,
"/lib" => lib_dir
}
end
def self.meta_spec_path
File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'jasmine-ruby', 'jasmine_meta_spec.rb'))
end