2011-05-06 18:05:15 +00:00
|
|
|
module Jasmine
|
|
|
|
module CLI
|
|
|
|
DEFAULTS = {
|
|
|
|
'spec_files' => [ '**/*[sS]pec.js' ],
|
|
|
|
'helpers' => [ 'helpers/**/*.js' ],
|
|
|
|
'spec_dir' => 'spec/javascripts',
|
2011-05-06 18:16:25 +00:00
|
|
|
'src_dir' => nil,
|
2011-05-06 18:05:15 +00:00
|
|
|
'stylesheets' => [],
|
|
|
|
'src_files' => []
|
|
|
|
}
|
|
|
|
|
|
|
|
def process_jasmine_config(overrides = {})
|
|
|
|
DEFAULTS.merge(overrides)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|