Skip to content

Commit 25fc6fc

Browse files
committed
chore(floorsense/room_sensor_spec): improve spec
1 parent 4b3a7fd commit 25fc6fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/floorsense/room_sensor_spec.cr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ end
2020
# :nodoc:
2121
class FloorsenseMock < DriverSpecs::MockDriver
2222
def room_list(room_id : String | Int32 | Int64? = nil)
23+
raise "expected room id in test" unless room_id
2324
[{
2425
:cached => Time.utc.to_unix,
2526
:name => "test room",

0 commit comments

Comments
 (0)