read test kind from ENV var

This commit is contained in:
onyx-and-iris 2023-08-10 14:40:50 +01:00
parent b2194c7aa3
commit 2cf8d105b4

View File

@ -6,7 +6,7 @@ class Test
attr_reader :vm, :data
end
@vm = Voicemeeter::Remote.new([:basic, :banana, :potato].sample)
@vm = Voicemeeter::Remote.new(ENV.fetch("KIND", "potato").to_sym)
vm.login
puts "Running #{vm.kind.name} tests"