mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:41:31 +08:00
Jasmine tests should run in test env, not development env; guard wasn't running any of the js specs
This commit is contained in:
parent
3fda486020
commit
7ef5037bbe
|
@ -11,7 +11,7 @@ end
|
|||
phantom_path = File.expand_path('~/phantomjs/bin/phantomjs')
|
||||
phantom_path = nil unless File.exists?(phantom_path)
|
||||
|
||||
jasmine_options = {:phantomjs_bin => phantom_path}
|
||||
jasmine_options = {:phantomjs_bin => phantom_path, :server_env => :test}
|
||||
|
||||
if ENV['JASMINE_URL']
|
||||
jasmine_options[:jasmine_url] = ENV['JASMINE_URL']
|
||||
|
|
Loading…
Reference in New Issue
Block a user