Update tests to reflect new UUID-less topic schema

pull/929/head
Rick Carlino 2018-07-24 08:46:01 -05:00
parent 45fdd224ab
commit 29b7cea413
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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