lib/koine/test_runner/builder.rb in koine-test_runner-0.2.2 vs lib/koine/test_runner/builder.rb in koine-test_runner-0.2.3
- old
+ new
@@ -32,10 +32,10 @@
unless Object.const_defined?(adapter_class)
raise ArgumentError, "Cannot locate adapter #{adapter_name} => #{adapter_class}"
end
klass = Object.const_get(adapter_class)
- klass.new(symbolize_keys(config))
+ klass.new(**symbolize_keys(config))
end
def classify(klass)
klass.to_s.split('_').map(&:capitalize).join('')
end