Jasmine tests should run in test env, not development env; guard wasn't running any of the js specs

This commit is contained in:
Neil Lalonde 2013-04-02 12:28:27 -04:00
parent 3fda486020
commit 7ef5037bbe

View file

@ -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']