pull/1082/head
Rick Carlino 2019-01-08 10:25:17 -06:00
parent 0224ce6d65
commit c4f9600436
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ module CeleryScriptSettingsBag
" as input. Please change your selection to a "\
"single location."
ALLOWED_GROUP_TYPE = %w(GenericPointer Plant Tool)
BAD_GROUP_TYPE = '"%s" is not a type of point. Allowed values: %s'
BAD_GROUP_TYPE = '"%s" is not a type of group. Allowed values: %s'
Corpus = CeleryScript::Corpus.new
.arg(:_else, [:execute, :nothing])

View File

@ -10,7 +10,7 @@ describe CeleryScript::Corpus do
})
check1 = CeleryScript::Checker.new(not_ok, corpus, device)
expect(check1.valid?).to eq(false)
expect(check1.error.message).to include("not a type of point")
expect(check1.error.message).to include("not a type of group")
end
it "does not all `every_location` in `move_absolute`" do