Move spec files back out of spec/javascripts

- Jasmine gem allows us to specify a path to jasmine.yml via ENV

[finish #58126010]
This commit is contained in:
Gregg Van Hove and Tim Jarratt
2013-10-02 16:32:35 -07:00
parent fc258b3d36
commit 1c19b8e38a
54 changed files with 9 additions and 2 deletions

View File

@@ -7,4 +7,11 @@ unless ENV["JASMINE_BROWSER"] == 'phantomjs'
end
load "jasmine/tasks/jasmine.rake"
namespace :jasmine do
task :set_env do
ENV['JASMINE_CONFIG_PATH'] = 'spec/support/jasmine.yml'
end
end
task "jasmine:configure" => "jasmine:set_env"

View File

@@ -15,13 +15,13 @@ src_files:
- 'html/**.js'
- '**/*.js'
stylesheets:
boot_dir: 'spec/javascripts/support'
boot_dir: 'spec/support'
boot_files:
- 'dev_boot.js'
helpers:
- 'helpers/**/*.js'
spec_files:
- '**/*[Ss]pec.js'
spec_dir:
spec_dir: spec