Skip to content

Commit

Permalink
Update integration tests to work with new discovery keys
Browse files Browse the repository at this point in the history
  • Loading branch information
sidoh committed Jul 13, 2024
1 parent f320677 commit 1aa40c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/remote/spec/discovery_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,20 @@
name
cmd_t
stat_t
brightness
rgb
color_temp
effect
fx_list
dev
dev_cla
uniq_id
max_mirs
min_mirs
sup_clrm
)
expect(config.keys).to include(*expected_keys)

expect(config['fx_list']).to include(*%w(white_mode night_mode))
expect(config['fx_list']).to include(*(0..8).map(&:to_s))
expect(config['sup_clrm']).to include(*%w(rgb color_temp))
end

it 'should list identifiers for ESP and bulb' do
Expand Down

0 comments on commit 1aa40c0

Please sign in to comment.