mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2025-01-18 21:40:48 +00:00
whitespace fix
load obs.yml instead
This commit is contained in:
parent
799ae52b02
commit
d9b054b108
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user