mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2026-04-19 01:13:32 +00:00
read test kind from ENV var
This commit is contained in:
@@ -6,7 +6,7 @@ class Test
|
|||||||
attr_reader :vm, :data
|
attr_reader :vm, :data
|
||||||
end
|
end
|
||||||
|
|
||||||
@vm = Voicemeeter::Remote.new([:basic, :banana, :potato].sample)
|
@vm = Voicemeeter::Remote.new(ENV.fetch("KIND", "potato").to_sym)
|
||||||
vm.login
|
vm.login
|
||||||
puts "Running #{vm.kind.name} tests"
|
puts "Running #{vm.kind.name} tests"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user