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 8d8a2a4 commit af85008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hue/client_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +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(:post, "http://192.168.0.1/api").to_return(body: '[{"success":{"username":"ruby"}}]')
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 af85008

Please sign in to comment.