mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue