Class: Jasmine::Config
- Inherits:
-
Object
- Object
- Jasmine::Config
- Defined in:
- lib/eris/lib/jasmine_config_overrides.rb
Instance Method Summary collapse
Instance Method Details
#simple_config_file ⇒ Object
13 14 15 |
# File 'lib/eris/lib/jasmine_config_overrides.rb', line 13 def simple_config_file File.join(project_root, 'spec/unit/support/jasmine.yml') end |
#src_files ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/eris/lib/jasmine_config_overrides.rb', line 5 def src_files eris_config = ErisConfig.new(:config_path => 'eris_config.json', :app_root => project_root) files = ["__ERIS_RESOURCES__/jasmineEnyoBootstrap.js","__ERIS_RESOURCES__/jasmineEnyoLoader.js", eris_config.enyo_js_path] files += match_files(src_dir, simple_config['src_files']) if simple_config['src_files'] files end |