lib/vault-test-tools.rb in vault-test-tools-0.0.4 vs lib/vault-test-tools.rb in vault-test-tools-0.0.6
- old
+ new
@@ -8,12 +8,14 @@
require "vault-test-tools/environment_helpers"
require "vault-test-tools/html_helpers"
module Vault
module Test
- def self.include_in_all(_module)
- Vault::TestCase.send(:include, _module)
- Vault::Spec.send(:include, _module)
+ def self.include_in_all(*modules)
+ modules.each do |_module|
+ Vault::TestCase.send(:include, _module)
+ Vault::Spec.send(:include, _module)
+ end
end
end
end
Vault::Test.include_in_all Rack::Test::Methods