Class: WsdlMapperTesting::Test

Inherits:
Minitest::Test
  • Object
show all
Defined in:
lib/wsdl_mapper_testing/test.rb

Direct Known Subclasses

ImplementationTest, SchemaTest

Instance Method Summary (collapse)

Instance Method Details

- (Object) create_test_module(content)



3
4
5
6
7
# File 'lib/wsdl_mapper_testing/test.rb', line 3

def create_test_module(content)
  test_module_name = 'TestModule' + SecureRandom.hex
  eval "module #{test_module_name}\n#{content}\nend"
  self.class.const_get test_module_name
end