test/dummy/log/test.log in extface-0.6.0 vs test/dummy/log/test.log in extface-0.6.1

- old
+ new

@@ -15775,5 +15775,2870 @@ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (67.2ms) DROP TABLE "extface_devices" +  (90.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (89.7ms) DROP TABLE "extface_drivers" +  (90.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (81.3ms) DROP TABLE "extface_jobs" +  (73.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.3ms) select sqlite_version(*) +  (80.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (55.8ms) DROP TABLE "extface_serial_configs" +  (74.1ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (64.0ms) DROP TABLE "shops" +  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.2ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:14:25', '2017-04-24 23:14:25', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:14:25', '2017-04-24 23:14:25', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.2ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:14:25', '2017-04-24 23:14:25', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:14:25', '2017-04-24 23:14:25', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:14:25', '2017-04-24 23:14:25', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:14:25', '2017-04-24 23:14:25', 298486374) +  (65.0ms) commit transaction +  (0.1ms) begin transaction +--------------------------------------------------- +Extface::Driver::Posiflex::Aura80Test: test_autocut +--------------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]] + Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------- +Extface::Driver::Posiflex::Aura80Test: test_handle +-------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Posiflex::Aura80Test: test_paper_out +----------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +-------------------------------------------------- +Extface::Driver::Posiflex::Aura80Test: test_status +-------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------- +Extface::Driver::Datecs::Dp25Test: test_build_packet +---------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------- +Extface::Driver::Datecs::Dp25Test: test_fsend +--------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 372698694]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 372698694]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 372698694]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 372698694]] +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Dp25Test: test_handle +---------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------ +Extface::Driver::Datecs::Dp25Test: test_response_frame +------------------------------------------------------ + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------- +Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc +----------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] +  (0.2ms) rollback transaction + Extface::Job Load (0.7ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] + Extface::Job Load (0.5ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (110.6ms) DROP TABLE "extface_devices" +  (80.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (81.6ms) DROP TABLE "extface_drivers" +  (82.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (65.5ms) DROP TABLE "extface_jobs" +  (82.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.3ms) select sqlite_version(*) +  (79.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (64.9ms) DROP TABLE "extface_serial_configs" +  (82.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (65.3ms) DROP TABLE "shops" +  (73.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:40:18', '2017-04-24 23:40:18', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:40:18', '2017-04-24 23:40:18', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:40:18', '2017-04-24 23:40:18', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:40:18', '2017-04-24 23:40:18', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:40:18', '2017-04-24 23:40:18', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:40:18', '2017-04-24 23:40:18', 298486374) +  (64.2ms) commit transaction +  (0.3ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.3ms) rollback transaction +  (0.3ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (93.5ms) DROP TABLE "extface_devices" +  (73.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (72.6ms) DROP TABLE "extface_drivers" +  (72.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (56.7ms) DROP TABLE "extface_jobs" +  (65.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (64.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (65.3ms) DROP TABLE "extface_serial_configs" +  (70.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (68.2ms) DROP TABLE "shops" +  (70.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (113.8ms) DROP TABLE "extface_devices" +  (71.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (91.2ms) DROP TABLE "extface_drivers" +  (71.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (59.6ms) DROP TABLE "extface_jobs" +  (62.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (76.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (80.3ms) DROP TABLE "extface_serial_configs" +  (70.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (68.1ms) DROP TABLE "shops" +  (70.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (97.2ms) DROP TABLE "extface_devices" +  (69.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (73.2ms) DROP TABLE "extface_drivers" +  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (76.4ms) DROP TABLE "extface_jobs" +  (70.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (81.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (76.8ms) DROP TABLE "extface_serial_configs" +  (70.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (76.7ms) DROP TABLE "shops" +  (81.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:45:34', '2017-04-24 23:45:34', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:45:34', '2017-04-24 23:45:34', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:45:34', '2017-04-24 23:45:34', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:45:34', '2017-04-24 23:45:34', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:45:34', '2017-04-24 23:45:34', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:45:34', '2017-04-24 23:45:34', 298486374) +  (80.9ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (133.8ms) DROP TABLE "extface_devices" +  (70.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (66.5ms) DROP TABLE "extface_drivers" +  (81.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (56.7ms) DROP TABLE "extface_jobs" +  (81.8ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (81.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (65.1ms) DROP TABLE "extface_serial_configs" +  (90.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (73.4ms) DROP TABLE "shops" +  (90.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.2ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:45:57', '2017-04-24 23:45:57', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:45:57', '2017-04-24 23:45:57', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:45:57', '2017-04-24 23:45:57', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:45:57', '2017-04-24 23:45:57', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:45:57', '2017-04-24 23:45:57', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:45:57', '2017-04-24 23:45:57', 298486374) +  (76.0ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (101.7ms) DROP TABLE "extface_devices" +  (90.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (90.2ms) DROP TABLE "extface_drivers" +  (73.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (73.0ms) DROP TABLE "extface_jobs" +  (90.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (89.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (73.5ms) DROP TABLE "extface_serial_configs" +  (82.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (64.5ms) DROP TABLE "shops" +  (82.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:46:31', '2017-04-24 23:46:31', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:46:31', '2017-04-24 23:46:31', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:46:31', '2017-04-24 23:46:31', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:46:31', '2017-04-24 23:46:31', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:46:31', '2017-04-24 23:46:31', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:46:31', '2017-04-24 23:46:31', 298486374) +  (66.2ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (173.8ms) DROP TABLE "extface_devices" +  (90.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (89.9ms) DROP TABLE "extface_drivers" +  (90.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (73.2ms) DROP TABLE "extface_jobs" +  (90.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.3ms) select sqlite_version(*) +  (60.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (75.0ms) DROP TABLE "extface_serial_configs" +  (82.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (73.1ms) DROP TABLE "shops" +  (82.1ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.2ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:46:52', '2017-04-24 23:46:52', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:46:52', '2017-04-24 23:46:52', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 229906743) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:46:52', '2017-04-24 23:46:52', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:46:52', '2017-04-24 23:46:52', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:46:52', '2017-04-24 23:46:52', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:46:52', '2017-04-24 23:46:52', 298486374) +  (69.3ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (94.1ms) DROP TABLE "extface_devices" +  (73.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (90.0ms) DROP TABLE "extface_drivers" +  (90.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (63.6ms) DROP TABLE "extface_jobs" +  (90.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (69.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (67.2ms) DROP TABLE "extface_serial_configs" +  (81.9ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (73.6ms) DROP TABLE "shops" +  (73.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.4ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:54:31', '2017-04-24 23:54:31', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:54:31', '2017-04-24 23:54:31', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 599072141) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 372698694) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:54:31', '2017-04-24 23:54:31', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:54:31', '2017-04-24 23:54:31', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:54:31', '2017-04-24 23:54:31', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:54:31', '2017-04-24 23:54:31', 298486374) +  (74.5ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (77.1ms) DROP TABLE "extface_devices" +  (73.6ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (88.9ms) DROP TABLE "extface_drivers" +  (73.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (65.1ms) DROP TABLE "extface_jobs" +  (73.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (73.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (64.7ms) DROP TABLE "extface_serial_configs" +  (73.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (64.9ms) DROP TABLE "shops" +  (73.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.2ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:55:38', '2017-04-25 00:55:38', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:55:38', '2017-04-25 00:55:38', 298486374, 599072141) + Fixture Delete (0.2ms) DELETE FROM "extface_devices" + Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.2ms) DELETE FROM "extface_drivers" + Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 599072141) + Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:55:38', '2017-04-25 00:55:38', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:55:38', '2017-04-25 00:55:38', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:55:38', '2017-04-25 00:55:38', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:55:38', '2017-04-25 00:55:38', 298486374) +  (417.3ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (121.4ms) DROP TABLE "extface_devices" +  (64.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (70.5ms) DROP TABLE "extface_drivers" +  (81.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (76.5ms) DROP TABLE "extface_jobs" +  (70.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (73.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (67.9ms) DROP TABLE "extface_serial_configs" +  (70.9ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (68.0ms) DROP TABLE "shops" +  (70.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:56:44', '2017-04-25 00:56:44', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:56:44', '2017-04-25 00:56:44', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 40760454) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:56:44', '2017-04-25 00:56:44', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:56:44', '2017-04-25 00:56:44', 298486374) + Fixture Delete (0.0ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:56:44', '2017-04-25 00:56:44', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:56:44', '2017-04-25 00:56:44', 298486374) +  (98.6ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (83.2ms) DROP TABLE "extface_devices" +  (72.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (68.9ms) DROP TABLE "extface_drivers" +  (73.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (67.4ms) DROP TABLE "extface_jobs" +  (70.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (67.1ms) DROP TABLE "extface_serial_configs" +  (61.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (59.2ms) DROP TABLE "shops" +  (65.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.4ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:57:06', '2017-04-25 00:57:06', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:57:06', '2017-04-25 00:57:06', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:57:06', '2017-04-25 00:57:06', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:57:06', '2017-04-25 00:57:06', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:57:06', '2017-04-25 00:57:06', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:57:06', '2017-04-25 00:57:06', 298486374) +  (52.5ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.6ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.3ms) rollback transaction +  (0.3ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (98.0ms) DROP TABLE "extface_devices" +  (70.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (72.3ms) DROP TABLE "extface_drivers" +  (85.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (64.0ms) DROP TABLE "extface_jobs" +  (70.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (72.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (58.0ms) DROP TABLE "extface_serial_configs" +  (62.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (59.3ms) DROP TABLE "shops" +  (62.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:57:33', '2017-04-25 00:57:33', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:57:33', '2017-04-25 00:57:33', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:57:33', '2017-04-25 00:57:33', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:57:33', '2017-04-25 00:57:33', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:57:33', '2017-04-25 00:57:33', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:57:33', '2017-04-25 00:57:33', 298486374) +  (74.2ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (100.7ms) DROP TABLE "extface_devices" +  (81.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (80.9ms) DROP TABLE "extface_drivers" +  (70.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (76.0ms) DROP TABLE "extface_jobs" +  (81.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (56.2ms) DROP TABLE "extface_serial_configs" +  (73.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (65.2ms) DROP TABLE "shops" +  (82.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:02:19', '2017-04-25 01:02:19', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:02:19', '2017-04-25 01:02:19', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:02:19', '2017-04-25 01:02:19', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:02:19', '2017-04-25 01:02:19', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:02:19', '2017-04-25 01:02:19', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:02:19', '2017-04-25 01:02:19', 298486374) +  (50.5ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (75.1ms) DROP TABLE "extface_devices" +  (82.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (106.3ms) DROP TABLE "extface_drivers" +  (81.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (73.3ms) DROP TABLE "extface_jobs" +  (90.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.3ms) select sqlite_version(*) +  (80.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (73.4ms) DROP TABLE "extface_serial_configs" +  (90.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (81.7ms) DROP TABLE "shops" +  (82.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:02:59', '2017-04-25 01:02:59', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:02:59', '2017-04-25 01:02:59', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:02:59', '2017-04-25 01:02:59', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:02:59', '2017-04-25 01:02:59', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:02:59', '2017-04-25 01:02:59', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:02:59', '2017-04-25 01:02:59', 298486374) +  (70.9ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (111.2ms) DROP TABLE "extface_devices" +  (90.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (80.4ms) DROP TABLE "extface_drivers" +  (90.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (72.7ms) DROP TABLE "extface_jobs" +  (89.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (89.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (72.3ms) DROP TABLE "extface_serial_configs" +  (82.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (64.1ms) DROP TABLE "shops" +  (81.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:03:25', '2017-04-25 01:03:25', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:03:25', '2017-04-25 01:03:25', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:03:25', '2017-04-25 01:03:25', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:03:25', '2017-04-25 01:03:25', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:03:25', '2017-04-25 01:03:25', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:03:25', '2017-04-25 01:03:25', 298486374) +  (67.1ms) commit transaction +  (0.3ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (87.8ms) DROP TABLE "extface_devices" +  (70.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (64.6ms) DROP TABLE "extface_drivers" +  (76.8ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (72.9ms) DROP TABLE "extface_jobs" +  (82.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (81.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (63.7ms) DROP TABLE "extface_serial_configs" +  (73.7ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (72.3ms) DROP TABLE "shops" +  (79.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.2ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:03:49', '2017-04-25 01:03:49', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:03:49', '2017-04-25 01:03:49', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:03:49', '2017-04-25 01:03:49', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:03:49', '2017-04-25 01:03:49', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:03:49', '2017-04-25 01:03:49', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:03:49', '2017-04-25 01:03:49', 298486374) +  (64.1ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (111.2ms) DROP TABLE "extface_devices" +  (89.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (90.2ms) DROP TABLE "extface_drivers" +  (81.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (73.3ms) DROP TABLE "extface_jobs" +  (82.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (81.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (105.4ms) DROP TABLE "extface_serial_configs" +  (81.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (73.4ms) DROP TABLE "shops" +  (65.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:04:40', '2017-04-25 01:04:40', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:04:40', '2017-04-25 01:04:40', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:04:40', '2017-04-25 01:04:40', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:04:40', '2017-04-25 01:04:40', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:04:40', '2017-04-25 01:04:40', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:04:40', '2017-04-25 01:04:40', 298486374) +  (58.3ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (91.3ms) DROP TABLE "extface_devices" +  (73.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (86.0ms) DROP TABLE "extface_drivers" +  (76.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (65.0ms) DROP TABLE "extface_jobs" +  (74.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.3ms) select sqlite_version(*) +  (72.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (64.0ms) DROP TABLE "extface_serial_configs" +  (73.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (65.0ms) DROP TABLE "shops" +  (73.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:05:44', '2017-04-25 01:05:44', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:05:44', '2017-04-25 01:05:44', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 40760454) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:05:44', '2017-04-25 01:05:44', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:05:44', '2017-04-25 01:05:44', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:05:44', '2017-04-25 01:05:44', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:05:44', '2017-04-25 01:05:44', 298486374) +  (67.0ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (62.8ms) DROP TABLE "extface_devices" +  (89.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (113.9ms) DROP TABLE "extface_drivers" +  (106.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (171.8ms) DROP TABLE "extface_jobs" +  (70.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (72.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (58.0ms) DROP TABLE "extface_serial_configs" +  (62.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (68.2ms) DROP TABLE "shops" +  (61.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.2ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:06:14', '2017-04-25 01:06:14', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:06:14', '2017-04-25 01:06:14', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:06:14', '2017-04-25 01:06:14', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:06:14', '2017-04-25 01:06:14', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:06:14', '2017-04-25 01:06:14', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:06:14', '2017-04-25 01:06:14', 298486374) +  (75.7ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +-------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding +-------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (102.9ms) DROP TABLE "extface_devices" +  (62.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (80.4ms) DROP TABLE "extface_drivers" +  (81.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (68.0ms) DROP TABLE "extface_jobs" +  (78.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (67.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (64.9ms) DROP TABLE "extface_serial_configs" +  (70.9ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (75.7ms) DROP TABLE "shops" +  (70.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:09:34', '2017-04-25 01:09:34', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:09:34', '2017-04-25 01:09:34', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:09:34', '2017-04-25 01:09:34', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:09:34', '2017-04-25 01:09:34', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:09:34', '2017-04-25 01:09:34', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:09:34', '2017-04-25 01:09:34', 298486374) +  (67.4ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.3ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (129.1ms) DROP TABLE "extface_devices" +  (89.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (70.9ms) DROP TABLE "extface_drivers" +  (82.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (83.2ms) DROP TABLE "extface_jobs" +  (70.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.3ms) select sqlite_version(*) +  (72.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (67.3ms) DROP TABLE "extface_serial_configs" +  (70.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (67.2ms) DROP TABLE "shops" +  (71.1ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:10:15', '2017-04-25 01:10:15', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:10:15', '2017-04-25 01:10:15', 298486374, 599072141) + Fixture Delete (0.2ms) DELETE FROM "extface_devices" + Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:10:15', '2017-04-25 01:10:15', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:10:15', '2017-04-25 01:10:15', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:10:15', '2017-04-25 01:10:15', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:10:15', '2017-04-25 01:10:15', 298486374) +  (79.5ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (125.6ms) DROP TABLE "extface_devices" +  (103.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (105.4ms) DROP TABLE "extface_drivers" +  (84.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (56.7ms) DROP TABLE "extface_jobs" +  (62.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.3ms) select sqlite_version(*) +  (63.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (68.4ms) DROP TABLE "extface_serial_configs" +  (70.7ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (68.7ms) DROP TABLE "shops" +  (70.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:11:20', '2017-04-25 01:11:20', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:11:20', '2017-04-25 01:11:20', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 40760454) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:11:20', '2017-04-25 01:11:20', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:11:20', '2017-04-25 01:11:20', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:11:20', '2017-04-25 01:11:20', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:11:20', '2017-04-25 01:11:20', 298486374) +  (75.2ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (92.2ms) DROP TABLE "extface_devices" +  (62.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (63.4ms) DROP TABLE "extface_drivers" +  (76.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (56.9ms) DROP TABLE "extface_jobs" +  (82.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (78.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (66.8ms) DROP TABLE "extface_serial_configs" +  (82.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (80.5ms) DROP TABLE "shops" +  (90.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:12:01', '2017-04-25 01:12:01', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:12:01', '2017-04-25 01:12:01', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:12:01', '2017-04-25 01:12:01', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:12:01', '2017-04-25 01:12:01', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:12:01', '2017-04-25 01:12:01', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:12:01', '2017-04-25 01:12:01', 298486374) +  (75.7ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (99.7ms) DROP TABLE "extface_devices" +  (81.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (110.8ms) DROP TABLE "extface_drivers" +  (92.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (65.2ms) DROP TABLE "extface_jobs" +  (87.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (92.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (63.8ms) DROP TABLE "extface_serial_configs" +  (90.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (73.3ms) DROP TABLE "shops" +  (87.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:12:26', '2017-04-25 01:12:26', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:12:26', '2017-04-25 01:12:26', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:12:26', '2017-04-25 01:12:26', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:12:26', '2017-04-25 01:12:26', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:12:26', '2017-04-25 01:12:26', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:12:26', '2017-04-25 01:12:26', 298486374) +  (74.7ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.4ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (151.8ms) DROP TABLE "extface_devices" +  (103.6ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (83.1ms) DROP TABLE "extface_drivers" +  (89.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (73.2ms) DROP TABLE "extface_jobs" +  (90.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (80.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (73.3ms) DROP TABLE "extface_serial_configs" +  (78.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (68.2ms) DROP TABLE "shops" +  (82.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:14:20', '2017-04-25 01:14:20', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:14:20', '2017-04-25 01:14:20', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:14:20', '2017-04-25 01:14:20', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:14:20', '2017-04-25 01:14:20', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:14:20', '2017-04-25 01:14:20', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:14:20', '2017-04-25 01:14:20', 298486374) +  (73.6ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.6ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (97.2ms) DROP TABLE "extface_devices" +  (81.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (81.7ms) DROP TABLE "extface_drivers" +  (82.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (72.3ms) DROP TABLE "extface_jobs" +  (74.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.3ms) select sqlite_version(*) +  (71.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (88.9ms) DROP TABLE "extface_serial_configs" +  (78.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (59.8ms) DROP TABLE "shops" +  (87.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.5ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:14:54', '2017-04-25 01:14:54', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:14:54', '2017-04-25 01:14:54', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:14:54', '2017-04-25 01:14:54', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:14:54', '2017-04-25 01:14:54', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:14:54', '2017-04-25 01:14:54', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:14:54', '2017-04-25 01:14:54', 298486374) +  (99.7ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (81.4ms) DROP TABLE "extface_devices" +  (70.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (83.6ms) DROP TABLE "extface_drivers" +  (81.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (81.1ms) DROP TABLE "extface_jobs" +  (62.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (73.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (59.1ms) DROP TABLE "extface_serial_configs" +  (73.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (72.4ms) DROP TABLE "shops" +  (62.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:15:44', '2017-04-25 01:15:44', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:15:44', '2017-04-25 01:15:44', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:15:44', '2017-04-25 01:15:44', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:15:44', '2017-04-25 01:15:44', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:15:44', '2017-04-25 01:15:44', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:15:44', '2017-04-25 01:15:44', 298486374) +  (68.3ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (107.0ms) DROP TABLE "extface_devices" +  (62.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (57.1ms) DROP TABLE "extface_drivers" +  (65.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (59.9ms) DROP TABLE "extface_jobs" +  (69.8ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (65.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (60.0ms) DROP TABLE "extface_serial_configs" +  (70.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (60.3ms) DROP TABLE "shops" +  (81.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:16:31', '2017-04-25 01:16:31', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:16:31', '2017-04-25 01:16:31', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:16:31', '2017-04-25 01:16:31', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:16:31', '2017-04-25 01:16:31', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:16:31', '2017-04-25 01:16:31', 980190962) + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:16:31', '2017-04-25 01:16:31', 298486374) +  (62.8ms) commit transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (126.3ms) DROP TABLE "extface_devices" +  (70.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (56.6ms) DROP TABLE "extface_drivers" +  (57.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (117.3ms) DROP TABLE "extface_jobs" +  (61.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (56.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (51.7ms) DROP TABLE "extface_serial_configs" +  (70.7ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (67.9ms) DROP TABLE "shops" +  (62.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.4ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:17:22', '2017-04-25 01:17:22', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:17:22', '2017-04-25 01:17:22', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.2ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:17:22', '2017-04-25 01:17:22', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:17:22', '2017-04-25 01:17:22', 298486374) + Fixture Delete (0.0ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:17:22', '2017-04-25 01:17:22', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:17:22', '2017-04-25 01:17:22', 298486374) +  (54.6ms) commit transaction +  (0.3ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.3ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (107.8ms) DROP TABLE "extface_devices" +  (54.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (64.0ms) DROP TABLE "extface_drivers" +  (65.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (66.9ms) DROP TABLE "extface_jobs" +  (71.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (75.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (65.1ms) DROP TABLE "extface_serial_configs" +  (73.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (80.9ms) DROP TABLE "shops" +  (73.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:20:17', '2017-04-25 01:20:17', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:20:17', '2017-04-25 01:20:17', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 412842077) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 599072141) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 372698694) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 40760454) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:20:17', '2017-04-25 01:20:17', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:20:17', '2017-04-25 01:20:17', 298486374) + Fixture Delete (0.1ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:20:17', '2017-04-25 01:20:17', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:20:17', '2017-04-25 01:20:17', 298486374) +  (66.0ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (146.9ms) DROP TABLE "extface_devices" +  (63.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (61.6ms) DROP TABLE "extface_drivers" +  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (59.6ms) DROP TABLE "extface_jobs" +  (80.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.1ms) select sqlite_version(*) +  (73.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (80.3ms) DROP TABLE "extface_serial_configs" +  (74.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (57.2ms) DROP TABLE "shops" +  (65.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:20:44', '2017-04-25 01:20:44', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:20:44', '2017-04-25 01:20:44', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.2ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 412842077) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:20:44', '2017-04-25 01:20:44', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:20:44', '2017-04-25 01:20:44', 298486374) + Fixture Delete (0.0ms) DELETE FROM "shops" + Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:20:44', '2017-04-25 01:20:44', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:20:44', '2017-04-25 01:20:44', 298486374) +  (55.7ms) commit transaction +  (0.2ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (94.7ms) DROP TABLE "extface_devices" +  (114.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255))  +  (94.3ms) DROP TABLE "extface_drivers" +  (125.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  +  (311.5ms) DROP TABLE "extface_jobs" +  (103.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime)  +  (0.2ms) select sqlite_version(*) +  (108.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id") +  (106.4ms) DROP TABLE "extface_serial_configs" +  (103.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)  +  (100.1ms) DROP TABLE "shops" +  (103.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  +  (0.3ms) SELECT version FROM "schema_migrations" +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-05-31 22:58:38', '2017-05-31 22:58:38', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-05-31 22:58:38', '2017-05-31 22:58:38', 298486374, 599072141) + Fixture Delete (0.1ms) DELETE FROM "extface_devices" + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 980190962, 'Shop', 980190962, 258259918) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 298486374, 'Shop', 980190962, 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 229906743, 'Shop', 980190962, 229906743) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 372698694, 'Shop', 980190962, 372698694) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 40760454, 'Shop', 980190962, 40760454) + Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 1033518405, 'Shop', 980190962, 1033518405) + Fixture Delete (0.1ms) DELETE FROM "extface_drivers" + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 258259918) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 412842077) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 599072141) + Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 229906743) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 372698694) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 40760454) + Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 1033518405) + Fixture Delete (0.0ms) DELETE FROM "extface_jobs" + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-05-31 22:58:38', '2017-05-31 22:58:38', 980190962) + Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-05-31 22:58:38', '2017-05-31 22:58:38', 298486374) + Fixture Delete (0.0ms) DELETE FROM "shops" + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-05-31 22:58:38', '2017-05-31 22:58:38', 980190962) + Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-05-31 22:58:38', '2017-05-31 22:58:38', 298486374) +  (83.5ms) commit transaction +  (0.3ms) begin transaction +--------------------------------------------------------- +Extface::DevicesControllerTest: test_should_create_device +--------------------------------------------------------- + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] +  (0.1ms) SELECT COUNT(*) FROM "extface_devices" + Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Processing by Extface::DevicesController#create as HTML + Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}} + Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 +  (0.1ms) SAVEPOINT active_record_1 + Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 + Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 + SQL (0.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2017-05-31 22:58:38.769413"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2017-05-31 22:58:38.769413"]] + SQL (0.2ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2017-05-31 22:58:38.779485"], ["driver_id", 1033518406], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "b0bcec7bef072240b11d86bf754fe7ad"], ["updated_at", "2017-05-31 22:58:38.779485"], ["uuid", "b0bcec7bef072240b11d86bf754fe7ad"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Redirected to http://test.host/shops/298486374/shop_extface/devices/1033518406 +Completed 302 Found in 62ms (ActiveRecord: 1.2ms) +  (0.1ms) SELECT COUNT(*) FROM "extface_devices" + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------------- +Extface::DevicesControllerTest: test_should_destroy_device +---------------------------------------------------------- + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] +  (0.1ms) SELECT COUNT(*) FROM "extface_devices" + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Processing by Extface::DevicesController#destroy as HTML + Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] +  (0.0ms) SAVEPOINT active_record_1 + SQL (0.1ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Redirected to http://test.host/shops/298486374/shop_extface/devices +Completed 302 Found in 3ms (ActiveRecord: 0.5ms) +  (0.1ms) SELECT COUNT(*) FROM "extface_devices" + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------- +Extface::DevicesControllerTest: test_should_get_edit +---------------------------------------------------- + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Processing by Extface::DevicesController#edit as HTML + Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.5ms) + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms) + Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (10.1ms) +Completed 200 OK in 127ms (Views: 124.4ms | ActiveRecord: 1.0ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +----------------------------------------------------- +Extface::DevicesControllerTest: test_should_get_index +----------------------------------------------------- + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Processing by Extface::DevicesController#index as HTML + Parameters: {"shop_id"=>"980190962"} + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Completed 200 OK in 37ms (Views: 32.1ms | ActiveRecord: 3.4ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------- +Extface::DevicesControllerTest: test_should_get_new +--------------------------------------------------- + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Processing by Extface::DevicesController#new as HTML + Parameters: {"shop_id"=>"980190962"} + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms) +Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.5ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------- +Extface::DevicesControllerTest: test_should_show_device +------------------------------------------------------- + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Processing by Extface::DevicesController#show as HTML + Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] +  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]] +  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]] +  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]] +  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (2.7ms) + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]] +Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 1.9ms) +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +--------------------------------------------------------- +Extface::DevicesControllerTest: test_should_update_device +--------------------------------------------------------- + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Processing by Extface::DevicesController#update as HTML + Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"} + Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] +  (0.0ms) SAVEPOINT active_record_1 + Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 + Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 + SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2017-05-31 22:58:39.015861"]] +  (0.0ms) RELEASE SAVEPOINT active_record_1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962 +Completed 302 Found in 6ms (ActiveRecord: 0.7ms) + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_packet +----------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding +----------------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_fsend +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] +  (0.2ms) rollback transaction +  (0.2ms) begin transaction +----------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_handle +----------------------------------------------- + Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.0ms) begin transaction +------------------------------------------------------- +Extface::Driver::Datecs::Fp550Test: test_response_frame +------------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +---------------------------------------------------- +Extface::Driver::Datecs::Dp25Test: test_build_packet +---------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------- +Extface::Driver::Datecs::Dp25Test: test_fsend +--------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]] + Extface::Job Load (0.0ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 372698694]] + Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 372698694]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 372698694]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 372698694]] +  (0.3ms) rollback transaction +  (0.2ms) begin transaction +---------------------------------------------- +Extface::Driver::Datecs::Dp25Test: test_handle +---------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------------ +Extface::Driver::Datecs::Dp25Test: test_response_frame +------------------------------------------------------ + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------- +ExtfaceTest: test_truth +----------------------- +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +------------------------------------------------- +Extface::JobsControllerTest: test_should_show_job +------------------------------------------------- + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 + Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 +Processing by Extface::JobsController#show as HTML + Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +--------------------------------------------------- +Extface::Driver::Posiflex::Aura80Test: test_autocut +--------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]] + Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction +-------------------------------------------------- +Extface::Driver::Posiflex::Aura80Test: test_handle +-------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]] +  (0.1ms) rollback transaction +  (0.1ms) begin transaction +----------------------------------------------------- +Extface::Driver::Posiflex::Aura80Test: test_paper_out +----------------------------------------------------- + Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]] + Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] +  (0.3ms) rollback transaction +  (0.3ms) begin transaction +-------------------------------------------------- +Extface::Driver::Posiflex::Aura80Test: test_status +-------------------------------------------------- + Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]] + Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]] + Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] +  (0.3ms) rollback transaction + Extface::Job Load (0.5ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]] + Extface::Job Load (0.5ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]] +Completed 200 OK in 10004ms (ActiveRecord: 3.2ms)