whitespace fix

load obs.yml instead
This commit is contained in:
onyx-and-iris 2023-07-19 15:10:38 +01:00
parent 799ae52b02
commit d9b054b108
3 changed files with 15 additions and 15 deletions

View File

@ -1,12 +1,12 @@
require "minitest" require "minitest"
require "minitest/autorun" require "minitest/autorun"
require "perfect_toml" require "yaml"
require_relative "../lib/obsws" require_relative "../lib/obsws"
class OBSWSTest < Minitest::Test class OBSWSTest < Minitest::Test
def self.before_run def self.before_run
conn = PerfectTOML.load_file("obs.toml", symbolize_names: true)[:connection] conn = YAML.load_file("obs.yml", symbolize_names: true)[:connection]
@@r_client = OBSWS::Requests::Client.new(**conn) @@r_client = OBSWS::Requests::Client.new(**conn)
@@r_client.create_scene("START_TEST") @@r_client.create_scene("START_TEST")