lib/tap/test.rb in tap-test-0.3.0 vs lib/tap/test.rb in tap-test-0.4.0
- old
+ new
@@ -48,10 +48,10 @@
# Includes ShellTest in the calling class. Options are set as the default
# sh_test_options.
def acts_as_shell_test(options=nil)
include Tap::Test::ShellTest
- self.sh_test_options = options
+ self.sh_test_options.merge!(options) if options
end
# Includes TapTest in the calling class and calls acts_as_file_test with
# the options.
def acts_as_tap_test(options={})
\ No newline at end of file