FE Sync message update

pull/316/head
Rick Carlino 2017-03-03 10:34:33 -06:00
parent 7b3b4322ae
commit db2faa6d61
2 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,7 @@ module CeleryScriptSettingsBag
BAD_LHS = 'Can not put "%s" into a left hand side (LHS) '\
'argument. Allowed values: %s'
BAD_SUB_SEQ = 'Sequence #%s does not exist.'
NO_SUB_SEQ = 'is missing a sequence selection for `execute` block.'
NO_SUB_SEQ = 'missing a sequence selection for `execute` block.'
BAD_REGIMEN = 'Regimen #%s does not exist.'
BAD_OP = 'Can not put "%s" into an operand (OP) argument. '\
'Allowed values: %s'

View File

@ -52,7 +52,9 @@ unless Rails.env == "production"
name: "Goto 0, 0, 0",
body: [{kind:"move_absolute",args:{location:{kind:"coordinate", args:{x:0,
y:0, z:0}}, offset:{kind:"coordinate", args:{x:0, y:0, z:0}}, speed:800}}])
Sequences::Create.run!(device: u.device,
name: "Every Node",
body: JSON.parse(File.read("spec/lib/celery_script/ast_fixture4.json")))
Regimens::Create.run(device: u.device,
name:"Test Regimen 456",
color:"gray",