jasmine/spec/jasmine_self_test_config.rb

15 lines
277 B
Ruby
Raw Normal View History

2009-12-28 18:08:23 +00:00
require 'jasmine'
2009-12-28 20:00:02 +00:00
class JasmineSelfTestConfig < Jasmine::Config
def project_root
2009-12-28 18:08:23 +00:00
File.expand_path(File.join(File.dirname(__FILE__), ".."))
end
def src_dir
File.join(project_root, 'src')
2009-12-28 18:08:23 +00:00
end
def spec_dir
File.join(project_root, 'jasmine/spec')
2009-12-28 18:08:23 +00:00
end
end