From 45e5abe23a1037fcb16811512c22a433de36f9cc Mon Sep 17 00:00:00 2001 From: Sam Soffes Date: Wed, 3 Jan 2024 10:26:57 -0800 Subject: [PATCH] Fix test? --- test/hue/client_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/hue/client_test.rb b/test/hue/client_test.rb index 678a725..95ea4b4 100644 --- a/test/hue/client_test.rb +++ b/test/hue/client_test.rb @@ -7,6 +7,7 @@ def before_setup stub_request(:get, "https://discovery.meethue.com/"). to_return(:body => '[{"id":"ffa57b3b257200065704","internalipaddress":"192.168.0.1"},{"id":"63c2fc01391276a319f9","internalipaddress":"192.168.0.2"}]') + stub_request(:get, %r{http://192.168.0.1/api}).to_return(:body => '[{"success":true}]') stub_request(:get, %r{http://192.168.0.1/api/*}).to_return(:body => '[{"success":true}]') stub_request(:get, %r{http://192.168.0.2/api/*}).to_return(:body => '[{"success":true}]') end