Allow non-true options to override defaults.
This commit is contained in:
parent
30e1ff8e51
commit
0617c5dabb
@ -41,7 +41,7 @@ module Jasmine
|
|||||||
@options[:seed] = rand(10000)
|
@options[:seed] = rand(10000)
|
||||||
read_defaults_files
|
read_defaults_files
|
||||||
|
|
||||||
opts.each { |k, v| @options[k] = v if v }
|
opts.each { |k, v| @options[k] = v }
|
||||||
end
|
end
|
||||||
|
|
||||||
def process_option(*args)
|
def process_option(*args)
|
||||||
|
Loading…
Reference in New Issue
Block a user