test/dummy/log/test.log in extface-0.4.8 vs test/dummy/log/test.log in extface-0.4.9
- old
+ new
@@ -3487,5 +3487,668 @@
Extface::Driver::Datecs::Fp550Test: test_response_frame
-------------------------------------------------------
[1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
[1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (108.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.0ms)[0m [1mCREATE 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) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.4ms)[0m [1mCREATE 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) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "shops"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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, '2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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, '2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374, 599072141)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374)[0m
+ [1m[35m (77.4ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.4ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36m (0.8ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.4ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (94.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE 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) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (81.5ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (81.0ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (81.5ms)[0m [1mCREATE 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) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "shops"
+ [1m[36m (62.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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, '2015-08-21 03:15:08', '2015-08-21 03:15:08', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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, '2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:08', '2015-08-21 03:15:08', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:08', '2015-08-21 03:15:08', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374)[0m
+ [1m[35m (53.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (119.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (64.9ms)[0m [1mCREATE 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) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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, '2015-08-21 03:15:27', '2015-08-21 03:15:27', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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, '2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:27', '2015-08-21 03:15:27', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:27', '2015-08-21 03:15:27', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374)[0m
+ [1m[35m (51.6ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (88.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.4ms)[0m [1mCREATE 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) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.2ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (56.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.1ms)[0m [1mCREATE 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) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "shops"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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, '2015-08-21 03:15:43', '2015-08-21 03:15:43', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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, '2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:43', '2015-08-21 03:15:43', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:43', '2015-08-21 03:15:43', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374)[0m
+ [1m[35m (60.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (79.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.7ms)[0m [1mCREATE 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) [0m
+ [1m[35m (72.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (47.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374)[0m
+ [1m[35m (61.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (95.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (56.8ms)[0m [1mCREATE 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) [0m
+ [1m[35m (75.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (54.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (54.0ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (78.1ms)[0m DROP TABLE "shops"
+ [1m[36m (68.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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, '2015-08-21 03:18:16', '2015-08-21 03:18:16', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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, '2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:18:16', '2015-08-21 03:18:16', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:18:16', '2015-08-21 03:18:16', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374)[0m
+ [1m[35m (54.2ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (105.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.4ms)[0m [1mCREATE 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) [0m
+ [1m[35m (53.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (76.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (48.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.1ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.9ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (408.6ms)[0m DROP TABLE "shops"
+ [1m[36m (75.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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, '2015-08-21 03:21:02', '2015-08-21 03:21:02', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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, '2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:21:02', '2015-08-21 03:21:02', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:21:02', '2015-08-21 03:21:02', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374)[0m
+ [1m[35m (67.0ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.5ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.3ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (113.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.6ms)[0m [1mCREATE 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) [0m
+ [1m[35m (67.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE 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) [0m
+ [1m[35m (73.0ms)[0m DROP TABLE "shops"
+ [1m[36m (74.0ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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, '2015-08-21 03:22:58', '2015-08-21 03:22:58', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m 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, '2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:22:58', '2015-08-21 03:22:58', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:22:58', '2015-08-21 03:22:58', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374)[0m
+ [1m[35m (48.7ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36m (1.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.4ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (81.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (67.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.6ms)[0m [1mCREATE 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) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "shops"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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, '2015-08-21 03:29:04', '2015-08-21 03:29:04', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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, '2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:04', '2015-08-21 03:29:04', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:04', '2015-08-21 03:29:04', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374)[0m
+ [1m[35m (63.8ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.3ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (98.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE 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) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (55.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (80.6ms)[0m DROP TABLE "shops"
+ [1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374)[0m
+ [1m[35m (64.2ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (87.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (84.9ms)[0m [1mCREATE 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) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (62.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (50.8ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (61.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE 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) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (73.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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, '2015-08-21 03:30:24', '2015-08-21 03:30:24', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m 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, '2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 229906743)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:30:24', '2015-08-21 03:30:24', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374)
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:30:24', '2015-08-21 03:30:24', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374)[0m
+ [1m[35m (60.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36m (0.9ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.3ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m