Update tests to reflect new UUID-less topic schema
parent
45fdd224ab
commit
29b7cea413
|
@ -101,8 +101,7 @@ describe CeleryScript::Checker do
|
|||
]
|
||||
chk = CeleryScript::Checker.new(tree, corpus)
|
||||
expect(chk.valid?).to be false
|
||||
expect(chk.error.message)
|
||||
.to eq("You must select a Peripheral before using it.")
|
||||
expect(chk.error.message).to eq("Peripheral requires a valid pin number")
|
||||
end
|
||||
|
||||
it "Catches bad `pin_type`s in `read_pin`" do
|
||||
|
|
|
@ -83,7 +83,7 @@ describe Resources::PreProcessor do
|
|||
expect(segment[0]).to eq("bot")
|
||||
expect(segment[1]).to eq("device_#{dev.id}")
|
||||
expect(segment[2]).to eq("from_api")
|
||||
expect(segment[3]).to eq("wrong_uuid")
|
||||
expect(segment[3]).to eq(nil)
|
||||
end
|
||||
|
||||
it "processes resources" do
|
||||
|
|
Loading…
Reference in New Issue