@@ -364,7 +364,7 @@ def to_shellwords
364364 #
365365 # @todo Better name for this method?
366366 # @return nothing
367- def apply_environmemt_overrides
367+ def apply_environment_overrides
368368 @format = env ( :format , @format )
369369 @autopath = env ( :autopath , @autopath )
370370 @files = env ( :files , @files )
@@ -379,7 +379,7 @@ def apply_environmemt_overrides
379379 # settings.
380380 #
381381 # @return nothing
382- def apply_environmemt_defaults
382+ def apply_environment_defaults
383383 @format = env ( :format , @format ) if @format . nil?
384384 @autopath = env ( :autopath , @autopath ) if @autopath . nil?
385385 @files = env ( :files , @files ) if @files . empty?
@@ -415,14 +415,14 @@ def load_config(file)
415415
416416 private
417417
418- # Lookup environment variable with name `RUBYTEST_{NAME }`,
418+ # Lookup environment variable with name `rubytest_{name }`,
419419 # and transform in according to the type of the given
420420 # default. If the environment variable is not set then
421421 # returns the default.
422422 #
423423 # @return [Object]
424424 def env ( name , default = nil )
425- value = ENV [ "rubytest- #{ name } " . downcase ]
425+ value = ENV [ "rubytest_ #{ name } " . downcase ]
426426
427427 case default
428428 when Array
0 commit comments