jasmine/spec/jasmine_self_test_config.rb
2009-12-28 16:27:02 -06:00

15 lines
268 B
Ruby

require 'jasmine'
class JasmineSelfTestConfig < Jasmine::Config
def proj_root
File.expand_path(File.join(File.dirname(__FILE__), ".."))
end
def src_dir
File.join(proj_root, 'src')
end
def spec_dir
File.join(proj_root, 'jasmine/spec')
end
end