Configure selenium path extra early, since it loads its config file when required
This commit is contained in:
parent
9322af290a
commit
efbc3dbc01
2
Rakefile
2
Rakefile
@ -1,3 +1,4 @@
|
|||||||
|
ENV['JASMINE_SELENIUM_CONFIG_PATH'] ||= 'spec/support/jasmine_selenium_runner.yml'
|
||||||
|
|
||||||
require 'jasmine'
|
require 'jasmine'
|
||||||
require 'jasmine_selenium_runner'
|
require 'jasmine_selenium_runner'
|
||||||
@ -5,7 +6,6 @@ load 'jasmine/tasks/jasmine.rake'
|
|||||||
|
|
||||||
namespace :jasmine do
|
namespace :jasmine do
|
||||||
task :set_env do
|
task :set_env do
|
||||||
ENV['JASMINE_SELENIUM_CONFIG_PATH'] ||= 'spec/support/jasmine_selenium_runner.yml'
|
|
||||||
ENV['JASMINE_CONFIG_PATH'] ||= 'spec/support/jasmine.yml'
|
ENV['JASMINE_CONFIG_PATH'] ||= 'spec/support/jasmine.yml'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user