Skip to content

Commit

Permalink
Fix test?
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Jan 3, 2024
1 parent 3bee186 commit 45e5abe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/hue/client_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45e5abe

Please sign in to comment.