From 0617c5dabb23da1cc7b82a4233660d13f8a9fe2c Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Mon, 14 May 2012 15:18:34 -0700 Subject: [PATCH] Allow non-true options to override defaults. --- lib/jasmine/headless/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jasmine/headless/options.rb b/lib/jasmine/headless/options.rb index 53719c0..083937e 100644 --- a/lib/jasmine/headless/options.rb +++ b/lib/jasmine/headless/options.rb @@ -41,7 +41,7 @@ module Jasmine @options[:seed] = rand(10000) read_defaults_files - opts.each { |k, v| @options[k] = v if v } + opts.each { |k, v| @options[k] = v } end def process_option(*args)