(109.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)   (82.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)  (81.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)   (0.3ms) select sqlite_version(*)  (72.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (73.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)  (130.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (104.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (75.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (52.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303123022')  (49.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140216110608')  (49.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303112124')  (65.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140215192111')  (65.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140219175006')  (65.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140219091811')  (65.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303122506') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (81.6ms) DROP TABLE "extface_devices"  (97.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)  (57.2ms) DROP TABLE "extface_drivers"  (65.2ms) 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"  (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)  (56.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.6ms) DROP TABLE "extface_serial_configs"  (184.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)   (209.6ms) DROP TABLE "shops"  (73.5ms) 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, '2015-05-20 01:26:40', '2015-05-20 01:26: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, '2015-05-20 01:26:40', '2015-05-20 01:26: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', '2015-05-20 01:26:40', '2015-05-20 01:26: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', '2015-05-20 01:26:40', '2015-05-20 01:26: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 ('datect_fp550', 'Datect FP550', '2015-05-20 01:26:40', '2015-05-20 01:26:40', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 01:26:40', '2015-05-20 01:26:40', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 01:26:40', '2015-05-20 01:26:40', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 01:26:40', '2015-05-20 01:26:40', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 01:26:40', '2015-05-20 01:26:40', 229906743) 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, '2015-05-20 01:26:40', '2015-05-20 01:26:40', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 01:26:40', '2015-05-20 01:26:40', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 01:26:40', '2015-05-20 01:26:40', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 01:26:40', '2015-05-20 01:26:40', 298486374)  (91.1ms) 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.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.2ms) rollback transaction  (0.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (98.5ms) DROP TABLE "extface_devices"  (57.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)   (64.7ms) DROP TABLE "extface_drivers"  (84.8ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (80.9ms) DROP TABLE "extface_jobs"  (155.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)   (0.2ms) select sqlite_version(*)  (81.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (81.1ms) DROP TABLE "extface_serial_configs"  (53.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)   (57.3ms) DROP TABLE "shops"  (93.3ms) 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, '2015-05-20 02:55:55', '2015-05-20 02:55:55', 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, '2015-05-20 02:55:55', '2015-05-20 02:55:55', 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', '2015-05-20 02:55:55', '2015-05-20 02:55:55', 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', '2015-05-20 02:55:55', '2015-05-20 02:55:55', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 02:55:55', '2015-05-20 02:55:55', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 02:55:55', '2015-05-20 02:55:55', 258259918) Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 02:55:55', '2015-05-20 02:55:55', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 02:55:55', '2015-05-20 02:55:55', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 02:55:55', '2015-05-20 02:55:55', 229906743) 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, '2015-05-20 02:55:55', '2015-05-20 02:55:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 02:55:55', '2015-05-20 02:55:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:55:55', '2015-05-20 02:55:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:55:55', '2015-05-20 02:55:55', 298486374)  (61.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_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]]  (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"  (107.8ms) DROP TABLE "extface_devices"  (65.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)   (64.4ms) 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)   (64.6ms) DROP TABLE "extface_jobs"  (68.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)   (0.3ms) select sqlite_version(*)  (64.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (73.0ms) DROP TABLE "extface_serial_configs"  (73.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)   (89.4ms) DROP TABLE "shops"  (90.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, '2015-05-20 02:56:32', '2015-05-20 02:56:32', 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, '2015-05-20 02:56:32', '2015-05-20 02:56:32', 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', '2015-05-20 02:56:32', '2015-05-20 02:56:32', 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', '2015-05-20 02:56:32', '2015-05-20 02:56:32', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 02:56:32', '2015-05-20 02:56:32', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 02:56:32', '2015-05-20 02:56:32', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 02:56:32', '2015-05-20 02:56:32', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 02:56:32', '2015-05-20 02:56:32', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 02:56:32', '2015-05-20 02:56:32', 229906743) 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, '2015-05-20 02:56:32', '2015-05-20 02:56:32', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 02:56:32', '2015-05-20 02:56:32', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:56:32', '2015-05-20 02:56:32', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:56:32', '2015-05-20 02:56:32', 298486374)  (90.9ms) 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.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]]  (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"  (105.5ms) DROP TABLE "extface_devices"  (57.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)   (64.3ms) DROP TABLE "extface_drivers"  (65.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (75.7ms) DROP TABLE "extface_jobs"  (65.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)   (0.2ms) select sqlite_version(*)  (64.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (65.1ms) DROP TABLE "extface_serial_configs"  (73.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)   (81.4ms) DROP TABLE "shops"  (81.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.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, '2015-05-20 02:59:13', '2015-05-20 02:59:13', 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, '2015-05-20 02:59:13', '2015-05-20 02:59:13', 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', '2015-05-20 02:59:13', '2015-05-20 02:59:13', 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', '2015-05-20 02:59:13', '2015-05-20 02:59:13', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 02:59:13', '2015-05-20 02:59:13', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 02:59:13', '2015-05-20 02:59:13', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 02:59:13', '2015-05-20 02:59:13', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 02:59:13', '2015-05-20 02:59:13', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 02:59:13', '2015-05-20 02:59:13', 229906743) Fixture Delete (0.1ms) DELETE FROM "extface_jobs" Fixture Insert (0.2ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 02:59:13', '2015-05-20 02:59:13', 980190962) Fixture Insert (0.2ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 02:59:13', '2015-05-20 02:59:13', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:59:13', '2015-05-20 02:59:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:59:13', '2015-05-20 02:59:13', 298486374)  (46.8ms) 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_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]]  (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"  (115.7ms) DROP TABLE "extface_devices"  (73.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)   (89.3ms) DROP TABLE "extface_drivers"  (90.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (88.9ms) 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)   (0.2ms) select sqlite_version(*)  (89.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (80.9ms) DROP TABLE "extface_serial_configs"  (81.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)   (64.6ms) DROP TABLE "shops"  (81.8ms) 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, '2015-05-20 02:59:30', '2015-05-20 02:59:30', 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, '2015-05-20 02:59:30', '2015-05-20 02:59:30', 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', '2015-05-20 02:59:30', '2015-05-20 02:59:30', 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', '2015-05-20 02:59:30', '2015-05-20 02:59:30', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 02:59:30', '2015-05-20 02:59:30', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 02:59:30', '2015-05-20 02:59:30', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 02:59:30', '2015-05-20 02:59:30', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 02:59:30', '2015-05-20 02:59:30', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 02:59:30', '2015-05-20 02:59:30', 229906743) 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, '2015-05-20 02:59:30', '2015-05-20 02:59:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 02:59:30', '2015-05-20 02:59:30', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:59:30', '2015-05-20 02:59:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:59:30', '2015-05-20 02:59:30', 298486374)  (51.2ms) 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_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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "extface_jobs" ("created_at", "description", "device_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-05-20 02:59:30.605032"], ["description", "Paper Cut"], ["device_id", 229906743], ["updated_at", "2015-05-20 02:59:30.605032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.0ms) 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"."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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_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"  (109.2ms) DROP TABLE "extface_devices"  (73.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)   (72.8ms) 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)   (72.4ms) DROP TABLE "extface_jobs"  (73.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)   (0.2ms) select sqlite_version(*)  (72.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (72.9ms) 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)   (73.2ms) DROP TABLE "shops"  (65.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) 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, '2015-05-20 02:59:55', '2015-05-20 02:59:55', 980190962, 258259918) 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, '2015-05-20 02:59:55', '2015-05-20 02:59:55', 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', '2015-05-20 02:59:55', '2015-05-20 02:59:55', 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', '2015-05-20 02:59:55', '2015-05-20 02:59:55', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 02:59:55', '2015-05-20 02:59:55', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 02:59:55', '2015-05-20 02:59:55', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 02:59:55', '2015-05-20 02:59:55', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 02:59:55', '2015-05-20 02:59:55', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 02:59:55', '2015-05-20 02:59:55', 229906743) 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, '2015-05-20 02:59:55', '2015-05-20 02:59:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 02:59:55', '2015-05-20 02:59:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:59:55', '2015-05-20 02:59:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 02:59:55', '2015-05-20 02:59:55', 298486374)  (60.8ms) 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_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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "extface_jobs" ("created_at", "description", "device_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-05-20 02:59:55.355064"], ["description", "Paper Move"], ["device_id", 229906743], ["updated_at", "2015-05-20 02:59:55.355064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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]] 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_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"  (171.2ms) DROP TABLE "extface_devices"  (98.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)   (89.1ms) DROP TABLE "extface_drivers"  (90.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (89.3ms) DROP TABLE "extface_jobs"  (89.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)   (0.2ms) select sqlite_version(*)  (72.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (72.9ms) 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)   (73.0ms) DROP TABLE "shops"  (73.5ms) 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, '2015-05-20 03:00:20', '2015-05-20 03:00: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, '2015-05-20 03:00:20', '2015-05-20 03:00: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', '2015-05-20 03:00:20', '2015-05-20 03:00: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', '2015-05-20 03:00:20', '2015-05-20 03:00: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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:00:20', '2015-05-20 03:00:20', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:00:20', '2015-05-20 03:00:20', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:00:20', '2015-05-20 03:00:20', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:00:20', '2015-05-20 03:00:20', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:00:20', '2015-05-20 03:00:20', 229906743) 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, '2015-05-20 03:00:20', '2015-05-20 03:00:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:00:20', '2015-05-20 03:00:20', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:00:20', '2015-05-20 03:00:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:00:20', '2015-05-20 03:00:20', 298486374)  (72.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.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_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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "extface_jobs" ("created_at", "description", "device_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-05-20 03:00:20.723207"], ["description", "Paper Move"], ["device_id", 229906743], ["updated_at", "2015-05-20 03:00:20.723207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.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.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"."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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_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"  (64.1ms) DROP TABLE "extface_devices"  (65.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)   (64.6ms) 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)   (72.6ms) DROP TABLE "extface_jobs"  (73.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)   (0.2ms) select sqlite_version(*)  (72.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (77.8ms) DROP TABLE "extface_serial_configs"  (73.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)   (73.3ms) DROP TABLE "shops"  (73.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.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, '2015-05-20 03:01:26', '2015-05-20 03:01: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, '2015-05-20 03:01:26', '2015-05-20 03:01: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', '2015-05-20 03:01:26', '2015-05-20 03:01: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', '2015-05-20 03:01:26', '2015-05-20 03:01: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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:01:26', '2015-05-20 03:01:26', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:01:26', '2015-05-20 03:01:26', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:01:26', '2015-05-20 03:01:26', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:01:26', '2015-05-20 03:01:26', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:01:26', '2015-05-20 03:01:26', 229906743) 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, '2015-05-20 03:01:26', '2015-05-20 03:01:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:01:26', '2015-05-20 03:01:26', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:01:26', '2015-05-20 03:01:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:01:26', '2015-05-20 03:01:26', 298486374)  (68.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_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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "extface_jobs" ("created_at", "description", "device_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-05-20 03:01:26.192921"], ["description", "Paper Move"], ["device_id", 229906743], ["updated_at", "2015-05-20 03:01:26.192921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.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]] 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_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"  (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)   (63.7ms) DROP TABLE "extface_drivers"  (65.5ms) 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"  (73.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)   (0.2ms) select sqlite_version(*)  (72.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.3ms) DROP TABLE "extface_serial_configs"  (78.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)   (81.0ms) DROP TABLE "shops"  (57.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, '2015-05-20 03:02:16', '2015-05-20 03:02:16', 980190962, 258259918) 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, '2015-05-20 03:02:16', '2015-05-20 03:02:16', 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', '2015-05-20 03:02:16', '2015-05-20 03:02:16', 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', '2015-05-20 03:02:16', '2015-05-20 03:02:16', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:02:16', '2015-05-20 03:02:16', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:02:16', '2015-05-20 03:02:16', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:02:16', '2015-05-20 03:02:16', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:02:16', '2015-05-20 03:02:16', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:02:16', '2015-05-20 03:02:16', 229906743) 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, '2015-05-20 03:02:16', '2015-05-20 03:02:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:02:16', '2015-05-20 03:02:16', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:02:16', '2015-05-20 03:02:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:02:16', '2015-05-20 03:02:16', 298486374)  (77.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.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_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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "extface_jobs" ("created_at", "description", "device_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-05-20 03:02:17.060411"], ["description", "Paper Move"], ["device_id", 229906743], ["updated_at", "2015-05-20 03:02:17.060411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.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"."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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_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"  (91.8ms) DROP TABLE "extface_devices"  (62.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)   (72.7ms) 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)   (73.2ms) DROP TABLE "extface_jobs"  (73.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)   (0.2ms) select sqlite_version(*)  (72.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (81.4ms) 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)   (67.8ms) DROP TABLE "shops"  (65.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.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, '2015-05-20 03:06:50', '2015-05-20 03:06:50', 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, '2015-05-20 03:06:50', '2015-05-20 03:06:50', 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', '2015-05-20 03:06:50', '2015-05-20 03:06:50', 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', '2015-05-20 03:06:50', '2015-05-20 03:06:50', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:06:50', '2015-05-20 03:06:50', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:06:50', '2015-05-20 03:06:50', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:06:50', '2015-05-20 03:06:50', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:06:50', '2015-05-20 03:06:50', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:06:50', '2015-05-20 03:06:50', 229906743) 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, '2015-05-20 03:06:50', '2015-05-20 03:06:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:06:50', '2015-05-20 03:06:50', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:06:50', '2015-05-20 03:06:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:06:50', '2015-05-20 03:06:50', 298486374)  (51.8ms) 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_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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "extface_jobs" ("created_at", "description", "device_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-05-20 03:06:50.196512"], ["description", "Paper Move"], ["device_id", 229906743], ["updated_at", "2015-05-20 03:06:50.196512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.3ms) begin transaction SQL (0.6ms) UPDATE "extface_jobs" SET "error" = ?, "failed_at" = ?, "updated_at" = ? WHERE "extface_jobs"."id" = 980190963 [["error", "Timeout waiting on queue"], ["failed_at", "2015-05-20 03:07:10.207811"], ["updated_at", "2015-05-20 03:07:10.209316"]] SQLite3::BusyException: database is locked: UPDATE "extface_jobs" SET "error" = ?, "failed_at" = ?, "updated_at" = ? WHERE "extface_jobs"."id" = 980190963  (0.1ms) rollback transaction  (0.5ms) 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.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"  (80.5ms) DROP TABLE "extface_devices"  (57.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)   (81.8ms) DROP TABLE "extface_drivers"  (81.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (72.6ms) DROP TABLE "extface_jobs"  (73.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)   (0.2ms) select sqlite_version(*)  (72.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (72.5ms) DROP TABLE "extface_serial_configs"  (73.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)   (72.7ms) DROP TABLE "shops"  (81.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.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, '2015-05-20 03:07:44', '2015-05-20 03:07: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, '2015-05-20 03:07:44', '2015-05-20 03:07: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', '2015-05-20 03:07:44', '2015-05-20 03:07: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', '2015-05-20 03:07:44', '2015-05-20 03:07: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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:07:44', '2015-05-20 03:07:44', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:07:44', '2015-05-20 03:07:44', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:07:44', '2015-05-20 03:07:44', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:07:44', '2015-05-20 03:07:44', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:07:44', '2015-05-20 03:07:44', 229906743) 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, '2015-05-20 03:07:44', '2015-05-20 03:07:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:07:44', '2015-05-20 03:07:44', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:07:44', '2015-05-20 03:07:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:07:44', '2015-05-20 03:07:44', 298486374)  (79.5ms) 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_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]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "extface_jobs" ("created_at", "description", "device_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-05-20 03:07:44.329748"], ["description", "Paper Move"], ["device_id", 229906743], ["updated_at", "2015-05-20 03:07:44.329748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.2ms) begin transaction SQL (0.6ms) UPDATE "extface_jobs" SET "error" = ?, "failed_at" = ?, "updated_at" = ? WHERE "extface_jobs"."id" = 980190963 [["error", "Timeout waiting on queue"], ["failed_at", "2015-05-20 03:08:04.340237"], ["updated_at", "2015-05-20 03:08:04.341486"]] SQLite3::BusyException: database is locked: UPDATE "extface_jobs" SET "error" = ?, "failed_at" = ?, "updated_at" = ? WHERE "extface_jobs"."id" = 980190963  (0.2ms) rollback transaction  (0.5ms) 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.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (123.8ms) DROP TABLE "extface_devices"  (73.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)   (72.5ms) DROP TABLE "extface_drivers"  (65.1ms) 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"  (54.4ms) 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)   (0.1ms) select sqlite_version(*)  (56.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (73.6ms) DROP TABLE "extface_serial_configs"  (59.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)   (70.3ms) DROP TABLE "shops"  (73.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.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, '2015-05-20 03:11:36', '2015-05-20 03:11:36', 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, '2015-05-20 03:11:36', '2015-05-20 03:11:36', 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', '2015-05-20 03:11:36', '2015-05-20 03:11:36', 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', '2015-05-20 03:11:36', '2015-05-20 03:11:36', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:11:36', '2015-05-20 03:11:36', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:11:36', '2015-05-20 03:11:36', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:11:36', '2015-05-20 03:11:36', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:11:36', '2015-05-20 03:11:36', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:11:36', '2015-05-20 03:11:36', 229906743) 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, '2015-05-20 03:11:36', '2015-05-20 03:11:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:11:36', '2015-05-20 03:11:36', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:11:36', '2015-05-20 03:11:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:11:36', '2015-05-20 03:11:36', 298486374)  (80.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.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_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]]  (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"  (142.8ms) DROP TABLE "extface_devices"  (73.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)   (72.7ms) DROP TABLE "extface_drivers"  (87.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (72.6ms) DROP TABLE "extface_jobs"  (73.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)   (0.2ms) select sqlite_version(*)  (72.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (83.7ms) DROP TABLE "extface_serial_configs"  (81.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)   (64.2ms) DROP TABLE "shops"  (81.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.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, '2015-05-20 03:12:02', '2015-05-20 03:12:02', 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, '2015-05-20 03:12:02', '2015-05-20 03:12:02', 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', '2015-05-20 03:12:02', '2015-05-20 03:12:02', 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', '2015-05-20 03:12:02', '2015-05-20 03:12:02', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:12:02', '2015-05-20 03:12:02', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:12:02', '2015-05-20 03:12:02', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:12:02', '2015-05-20 03:12:02', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:12:02', '2015-05-20 03:12:02', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:12:02', '2015-05-20 03:12:02', 229906743) 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, '2015-05-20 03:12:02', '2015-05-20 03:12:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:12:02', '2015-05-20 03:12:02', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:12:02', '2015-05-20 03:12:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:12:02', '2015-05-20 03:12:02', 298486374)  (71.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.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_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) 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.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (88.1ms) DROP TABLE "extface_devices"  (73.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)   (72.8ms) 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)   (73.0ms) DROP TABLE "extface_jobs"  (73.4ms) 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)   (0.2ms) select sqlite_version(*)  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (72.6ms) DROP TABLE "extface_serial_configs"  (65.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.8ms) DROP TABLE "shops"  (57.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.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, '2015-05-20 03:15:45', '2015-05-20 03:15:45', 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, '2015-05-20 03:15:45', '2015-05-20 03:15:45', 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', '2015-05-20 03:15:45', '2015-05-20 03:15:45', 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', '2015-05-20 03:15:45', '2015-05-20 03:15:45', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:15:45', '2015-05-20 03:15:45', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:15:45', '2015-05-20 03:15:45', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:15:45', '2015-05-20 03:15:45', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:15:45', '2015-05-20 03:15:45', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:15:45', '2015-05-20 03:15:45', 229906743) 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, '2015-05-20 03:15:45', '2015-05-20 03:15:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:15:45', '2015-05-20 03:15:45', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:15:45', '2015-05-20 03:15:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:15:45', '2015-05-20 03:15:45', 298486374)  (55.6ms) commit transaction  (0.1ms) 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.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_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) 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.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"  (86.0ms) DROP TABLE "extface_devices"  (73.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)   (64.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)   (72.8ms) DROP TABLE "extface_jobs"  (73.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)   (0.2ms) select sqlite_version(*)  (72.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (72.8ms) DROP TABLE "extface_serial_configs"  (73.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)   (72.8ms) DROP TABLE "shops"  (73.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, '2015-05-20 03:41:07', '2015-05-20 03:41:07', 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, '2015-05-20 03:41:07', '2015-05-20 03:41:07', 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', '2015-05-20 03:41:07', '2015-05-20 03:41:07', 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', '2015-05-20 03:41:07', '2015-05-20 03:41:07', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:41:07', '2015-05-20 03:41:07', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:41:07', '2015-05-20 03:41:07', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:41:07', '2015-05-20 03:41:07', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:41:07', '2015-05-20 03:41:07', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:41:07', '2015-05-20 03:41:07', 229906743) 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, '2015-05-20 03:41:07', '2015-05-20 03:41:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:41:07', '2015-05-20 03:41:07', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:41:07', '2015-05-20 03:41:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:41:07', '2015-05-20 03:41:07', 298486374)  (63.5ms) 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_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.6ms) 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.6ms) 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.2ms) rollback transaction  (0.2ms) 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.2ms) 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"  (80.0ms) DROP TABLE "extface_devices"  (57.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)   (72.5ms) 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)   (73.1ms) DROP TABLE "extface_jobs"  (73.4ms) 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)   (0.3ms) select sqlite_version(*)  (72.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (72.9ms) DROP TABLE "extface_serial_configs"  (65.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)   (72.7ms) DROP TABLE "shops"  (57.3ms) 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, '2015-05-20 03:42:30', '2015-05-20 03:42:30', 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, '2015-05-20 03:42:30', '2015-05-20 03:42:30', 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', '2015-05-20 03:42:30', '2015-05-20 03:42:30', 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', '2015-05-20 03:42:30', '2015-05-20 03:42:30', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:42:30', '2015-05-20 03:42:30', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:42:30', '2015-05-20 03:42:30', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:42:30', '2015-05-20 03:42:30', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:42:30', '2015-05-20 03:42:30', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:42:30', '2015-05-20 03:42:30', 229906743) 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, '2015-05-20 03:42:30', '2015-05-20 03:42:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:42:30', '2015-05-20 03:42:30', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:42:30', '2015-05-20 03:42:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:42:30', '2015-05-20 03:42:30', 298486374)  (55.1ms) 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_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.5ms) 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.4ms) 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.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (87.3ms) DROP TABLE "extface_devices"  (54.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)   (56.6ms) DROP TABLE "extface_drivers"  (57.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.2ms) DROP TABLE "extface_jobs"  (65.4ms) 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)   (0.2ms) select sqlite_version(*)  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.4ms) DROP TABLE "extface_serial_configs"  (65.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)   (64.5ms) 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.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, '2015-05-20 03:42:56', '2015-05-20 03:42:56', 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, '2015-05-20 03:42:56', '2015-05-20 03:42:56', 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', '2015-05-20 03:42:56', '2015-05-20 03:42:56', 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', '2015-05-20 03:42:56', '2015-05-20 03:42:56', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:42:56', '2015-05-20 03:42:56', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:42:56', '2015-05-20 03:42:56', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:42:56', '2015-05-20 03:42:56', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:42:56', '2015-05-20 03:42:56', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:42:56', '2015-05-20 03:42:56', 229906743) 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, '2015-05-20 03:42:56', '2015-05-20 03:42:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:42:56', '2015-05-20 03:42:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:42:56', '2015-05-20 03:42:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:42:56', '2015-05-20 03:42:56', 298486374)  (57.9ms) 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_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.4ms) 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.5ms) 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.2ms) 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.2ms) 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"  (82.3ms) DROP TABLE "extface_devices"  (57.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)   (56.6ms) DROP TABLE "extface_drivers"  (65.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.6ms) DROP TABLE "extface_jobs"  (65.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)   (0.2ms) select sqlite_version(*)  (64.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.5ms) DROP TABLE "extface_serial_configs"  (57.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)   (56.3ms) DROP TABLE "shops"  (57.2ms) 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, '2015-05-20 03:43:26', '2015-05-20 03:43: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, '2015-05-20 03:43:26', '2015-05-20 03:43: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', '2015-05-20 03:43:26', '2015-05-20 03:43: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', '2015-05-20 03:43:26', '2015-05-20 03:43: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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:43:26', '2015-05-20 03:43:26', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:43:26', '2015-05-20 03:43:26', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:43:26', '2015-05-20 03:43:26', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:43:26', '2015-05-20 03:43:26', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:43:26', '2015-05-20 03:43:26', 229906743) 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, '2015-05-20 03:43:26', '2015-05-20 03:43:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:43:26', '2015-05-20 03:43:26', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:43:26', '2015-05-20 03:43:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:43:26', '2015-05-20 03:43:26', 298486374)  (56.2ms) 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_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.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", 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) 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.2ms) rollback transaction  (0.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (66.5ms) DROP TABLE "extface_devices"  (68.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)   (64.7ms) 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)   (64.3ms) DROP TABLE "extface_jobs"  (70.4ms) 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)   (0.2ms) select sqlite_version(*)  (56.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.1ms) DROP TABLE "extface_serial_configs"  (65.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)   (53.4ms) DROP TABLE "shops"  (57.3ms) 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, '2015-05-20 03:44:09', '2015-05-20 03:44:09', 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, '2015-05-20 03:44:09', '2015-05-20 03:44:09', 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', '2015-05-20 03:44:09', '2015-05-20 03:44:09', 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', '2015-05-20 03:44:09', '2015-05-20 03:44:09', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:44:09', '2015-05-20 03:44:09', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:44:09', '2015-05-20 03:44:09', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:44:09', '2015-05-20 03:44:09', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:44:09', '2015-05-20 03:44:09', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:44:09', '2015-05-20 03:44:09', 229906743) 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, '2015-05-20 03:44:09', '2015-05-20 03:44:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:44:09', '2015-05-20 03:44:09', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:44:09', '2015-05-20 03:44:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:44:09', '2015-05-20 03:44:09', 298486374)  (49.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.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_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.5ms) 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.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) 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.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.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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (106.2ms) 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)   (56.4ms) DROP TABLE "extface_drivers"  (57.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (56.1ms) DROP TABLE "extface_jobs"  (57.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)   (0.2ms) select sqlite_version(*)  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (67.6ms) 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)   (138.6ms) DROP TABLE "shops"  (65.3ms) 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, '2015-05-20 03:45:43', '2015-05-20 03:45:43', 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, '2015-05-20 03:45:43', '2015-05-20 03:45:43', 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', '2015-05-20 03:45:43', '2015-05-20 03:45:43', 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', '2015-05-20 03:45:43', '2015-05-20 03:45:43', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:45:43', '2015-05-20 03:45:43', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:45:43', '2015-05-20 03:45:43', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:45:43', '2015-05-20 03:45:43', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:45:43', '2015-05-20 03:45:43', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:45:43', '2015-05-20 03:45:43', 229906743) 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, '2015-05-20 03:45:43', '2015-05-20 03:45:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:45:43', '2015-05-20 03:45:43', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:45:43', '2015-05-20 03:45:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:45:43', '2015-05-20 03:45:43', 298486374)  (64.6ms) 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_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.5ms) 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.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) 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.3ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_response_frame ------------------------------------------------------- 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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (89.8ms) DROP TABLE "extface_devices"  (65.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)   (64.7ms) 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)   (56.5ms) DROP TABLE "extface_jobs"  (65.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)   (0.2ms) select sqlite_version(*)  (64.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.1ms) DROP TABLE "extface_serial_configs"  (65.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)   (72.8ms) DROP TABLE "shops"  (65.5ms) 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.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, '2015-05-20 03:49:43', '2015-05-20 03:49:43', 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, '2015-05-20 03:49:43', '2015-05-20 03:49:43', 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', '2015-05-20 03:49:43', '2015-05-20 03:49:43', 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', '2015-05-20 03:49:43', '2015-05-20 03:49:43', 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 ('datect_fp550', 'Datect FP550', '2015-05-20 03:49:43', '2015-05-20 03:49:43', 229906743, 'Shop', 980190962, 229906743) Fixture Delete (0.3ms) DELETE FROM "extface_drivers" Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-05-20 03:49:43', '2015-05-20 03:49:43', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:49:43', '2015-05-20 03:49:43', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:49:43', '2015-05-20 03:49:43', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:49:43', '2015-05-20 03:49:43', 229906743) 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, '2015-05-20 03:49:43', '2015-05-20 03:49:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:49:43', '2015-05-20 03:49:43', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:49:43', '2015-05-20 03:49:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:49:43', '2015-05-20 03:49:43', 298486374)  (52.6ms) 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_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.5ms) 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) 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.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.3ms) rollback transaction  (0.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (65.5ms) DROP TABLE "extface_devices"  (65.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)   (64.8ms) DROP TABLE "extface_drivers"  (65.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (56.3ms) DROP TABLE "extface_jobs"  (65.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)   (0.2ms) select sqlite_version(*)  (61.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.3ms) DROP TABLE "extface_serial_configs"  (62.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)   (65.0ms) DROP TABLE "shops"  (65.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.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, '2015-05-20 03:52:59', '2015-05-20 03:52: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, '2015-05-20 03:52:59', '2015-05-20 03:52: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', '2015-05-20 03:52:59', '2015-05-20 03:52: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', '2015-05-20 03:52:59', '2015-05-20 03:52: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', '2015-05-20 03:52:59', '2015-05-20 03:52:59', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:52:59', '2015-05-20 03:52:59', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:52:59', '2015-05-20 03:52:59', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:52:59', '2015-05-20 03:52:59', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:52:59', '2015-05-20 03:52:59', 229906743) 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, '2015-05-20 03:52:59', '2015-05-20 03:52:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:52:59', '2015-05-20 03:52:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:52:59', '2015-05-20 03:52:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:52:59', '2015-05-20 03:52:59', 298486374)  (54.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.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_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.5ms) 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) 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.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_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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (114.6ms) DROP TABLE "extface_devices"  (65.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)   (64.7ms) 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)   (56.7ms) DROP TABLE "extface_jobs"  (64.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)   (0.2ms) select sqlite_version(*)  (64.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.6ms) DROP TABLE "extface_serial_configs"  (73.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.2ms) DROP TABLE "shops"  (73.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.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, '2015-05-20 03:58:14', '2015-05-20 03:58: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, '2015-05-20 03:58:14', '2015-05-20 03:58: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', '2015-05-20 03:58:14', '2015-05-20 03:58: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', '2015-05-20 03:58:14', '2015-05-20 03:58: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', '2015-05-20 03:58:14', '2015-05-20 03:58:14', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:58:14', '2015-05-20 03:58:14', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:58:14', '2015-05-20 03:58:14', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:58:14', '2015-05-20 03:58:14', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:58:14', '2015-05-20 03:58:14', 229906743) 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, '2015-05-20 03:58:14', '2015-05-20 03:58:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:58:14', '2015-05-20 03:58:14', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:58:14', '2015-05-20 03:58:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:58:14', '2015-05-20 03:58:14', 298486374)  (58.3ms) 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.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_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.5ms) 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) 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.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.3ms) 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.2ms) 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"  (93.7ms) DROP TABLE "extface_devices"  (73.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)   (147.1ms) DROP TABLE "extface_drivers"  (70.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (59.0ms) DROP TABLE "extface_jobs"  (73.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)   (0.2ms) select sqlite_version(*)  (72.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (72.4ms) 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)   (73.1ms) DROP TABLE "shops"  (73.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.3ms) 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-05-20 03:58:58', '2015-05-20 03:58:58', 980190962, 258259918) 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, '2015-05-20 03:58:58', '2015-05-20 03:58:58', 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', '2015-05-20 03:58:58', '2015-05-20 03:58:58', 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', '2015-05-20 03:58:58', '2015-05-20 03:58:58', 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', '2015-05-20 03:58:58', '2015-05-20 03:58:58', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:58:58', '2015-05-20 03:58:58', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:58:58', '2015-05-20 03:58:58', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:58:58', '2015-05-20 03:58:58', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:58:58', '2015-05-20 03:58:58', 229906743) 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, '2015-05-20 03:58:58', '2015-05-20 03:58:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:58:58', '2015-05-20 03:58:58', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:58:58', '2015-05-20 03:58:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:58:58', '2015-05-20 03:58:58', 298486374)  (63.0ms) 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.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_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 (1.0ms) 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) 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.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.3ms) rollback transaction  (0.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (89.2ms) DROP TABLE "extface_devices"  (73.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)   (73.3ms) DROP TABLE "extface_drivers"  (65.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (56.3ms) DROP TABLE "extface_jobs"  (65.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)   (0.2ms) select sqlite_version(*)  (64.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.6ms) DROP TABLE "extface_serial_configs"  (65.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)   (64.6ms) DROP TABLE "shops"  (65.2ms) 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, '2015-05-20 03:59:21', '2015-05-20 03:59:21', 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, '2015-05-20 03:59:21', '2015-05-20 03:59:21', 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', '2015-05-20 03:59:21', '2015-05-20 03:59:21', 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', '2015-05-20 03:59:21', '2015-05-20 03:59:21', 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', '2015-05-20 03:59:21', '2015-05-20 03:59:21', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:59:21', '2015-05-20 03:59:21', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:59:21', '2015-05-20 03:59:21', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:59:21', '2015-05-20 03:59:21', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:59:21', '2015-05-20 03:59:21', 229906743) 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, '2015-05-20 03:59:21', '2015-05-20 03:59:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:59:21', '2015-05-20 03:59:21', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:59:21', '2015-05-20 03:59:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:59:21', '2015-05-20 03:59:21', 298486374)  (56.5ms) 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_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.4ms) 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) 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.2ms) rollback transaction  (0.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (142.9ms) 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)   (72.8ms) 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)   (64.6ms) 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)   (0.2ms) select sqlite_version(*)  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.4ms) 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)   (78.1ms) DROP TABLE "shops"  (68.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.2ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.3ms) 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-05-20 03:59:41', '2015-05-20 03:59:41', 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, '2015-05-20 03:59:41', '2015-05-20 03:59:41', 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', '2015-05-20 03:59:41', '2015-05-20 03:59:41', 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', '2015-05-20 03:59:41', '2015-05-20 03:59:41', 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', '2015-05-20 03:59:41', '2015-05-20 03:59:41', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 03:59:41', '2015-05-20 03:59:41', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 03:59:41', '2015-05-20 03:59:41', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 03:59:41', '2015-05-20 03:59:41', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 03:59:41', '2015-05-20 03:59:41', 229906743) 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, '2015-05-20 03:59:41', '2015-05-20 03:59:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 03:59:41', '2015-05-20 03:59:41', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:59:41', '2015-05-20 03:59:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 03:59:41', '2015-05-20 03:59:41', 298486374)  (59.9ms) 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.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.6ms) 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) 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.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (101.7ms) DROP TABLE "extface_devices"  (73.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)   (73.1ms) 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)   (47.9ms) DROP TABLE "extface_jobs"  (73.4ms) 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)   (0.2ms) select sqlite_version(*)  (137.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (74.6ms) DROP TABLE "extface_serial_configs"  (70.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)   (72.8ms) DROP TABLE "shops"  (57.2ms) 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, '2015-05-20 04:00:00', '2015-05-20 04:00:00', 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, '2015-05-20 04:00:00', '2015-05-20 04:00:00', 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', '2015-05-20 04:00:00', '2015-05-20 04:00:00', 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', '2015-05-20 04:00:00', '2015-05-20 04:00:00', 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', '2015-05-20 04:00:00', '2015-05-20 04:00:00', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 04:00:00', '2015-05-20 04:00:00', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 04:00:00', '2015-05-20 04:00:00', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 04:00:00', '2015-05-20 04:00:00', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 04:00:00', '2015-05-20 04:00:00', 229906743) 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, '2015-05-20 04:00:00', '2015-05-20 04:00:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 04:00:00', '2015-05-20 04:00:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:00:00', '2015-05-20 04:00:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:00:00', '2015-05-20 04:00:00', 298486374)  (58.1ms) 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_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.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", 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) 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.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_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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (103.3ms) 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)   (73.0ms) DROP TABLE "extface_drivers"  (81.8ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (56.1ms) DROP TABLE "extface_jobs"  (73.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)   (0.2ms) select sqlite_version(*)  (72.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (48.1ms) DROP TABLE "extface_serial_configs"  (65.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)   (73.3ms) DROP TABLE "shops"  (73.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.2ms) 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, '2015-05-20 04:02:23', '2015-05-20 04:02:23', 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, '2015-05-20 04:02:23', '2015-05-20 04:02:23', 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', '2015-05-20 04:02:23', '2015-05-20 04:02:23', 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', '2015-05-20 04:02:23', '2015-05-20 04:02:23', 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', '2015-05-20 04:02:23', '2015-05-20 04:02:23', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 04:02:23', '2015-05-20 04:02:23', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 04:02:23', '2015-05-20 04:02:23', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 04:02:23', '2015-05-20 04:02:23', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 04:02:23', '2015-05-20 04:02:23', 229906743) 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, '2015-05-20 04:02:23', '2015-05-20 04:02:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 04:02:23', '2015-05-20 04:02:23', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:02:23', '2015-05-20 04:02:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:02:23', '2015-05-20 04:02:23', 298486374)  (58.6ms) 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_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.3ms) 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) 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.2ms) rollback transaction  (0.2ms) 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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (94.2ms) DROP TABLE "extface_devices"  (65.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)   (64.5ms) 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)   (67.5ms) 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)   (0.2ms) select sqlite_version(*)  (72.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.4ms) 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)   (61.8ms) DROP TABLE "shops"  (57.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, '2015-05-20 04:05:57', '2015-05-20 04:05: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, '2015-05-20 04:05:57', '2015-05-20 04:05: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', '2015-05-20 04:05:57', '2015-05-20 04:05: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', '2015-05-20 04:05:57', '2015-05-20 04:05: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', '2015-05-20 04:05:57', '2015-05-20 04:05:57', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 04:05:57', '2015-05-20 04:05:57', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 04:05:57', '2015-05-20 04:05:57', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 04:05:57', '2015-05-20 04:05:57', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 04:05:57', '2015-05-20 04:05:57', 229906743) 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, '2015-05-20 04:05:57', '2015-05-20 04:05:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 04:05:57', '2015-05-20 04:05:57', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:05:57', '2015-05-20 04:05:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:05:57', '2015-05-20 04:05:57', 298486374)  (56.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_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.5ms) 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) 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.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"  (89.2ms) DROP TABLE "extface_devices"  (65.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)   (64.7ms) DROP TABLE "extface_drivers"  (65.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (56.4ms) DROP TABLE "extface_jobs"  (65.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)   (0.2ms) select sqlite_version(*)  (64.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.3ms) DROP TABLE "extface_serial_configs"  (62.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)   (64.4ms) DROP TABLE "shops"  (65.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.2ms) begin transaction Fixture Delete (0.3ms) 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, '2015-05-20 04:11:15', '2015-05-20 04:11: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, '2015-05-20 04:11:15', '2015-05-20 04:11:15', 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', '2015-05-20 04:11:15', '2015-05-20 04:11: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', '2015-05-20 04:11:15', '2015-05-20 04:11:15', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-05-20 04:11:15', '2015-05-20 04:11:15', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 04:11:15', '2015-05-20 04:11:15', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 04:11:15', '2015-05-20 04:11:15', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 04:11:15', '2015-05-20 04:11:15', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 04:11:15', '2015-05-20 04:11:15', 229906743) 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, '2015-05-20 04:11:15', '2015-05-20 04:11:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 04:11:15', '2015-05-20 04:11:15', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:11:15', '2015-05-20 04:11:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:11:15', '2015-05-20 04:11:15', 298486374)  (62.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.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_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.4ms) 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) 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.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.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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (95.7ms) DROP TABLE "extface_devices"  (65.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)   (64.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)   (56.4ms) DROP TABLE "extface_jobs"  (65.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)   (0.2ms) select sqlite_version(*)  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.6ms) DROP TABLE "extface_serial_configs"  (65.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)   (61.9ms) DROP TABLE "shops"  (65.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.2ms) begin transaction Fixture Delete (0.3ms) 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, '2015-05-20 04:12:25', '2015-05-20 04:12: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, '2015-05-20 04:12:25', '2015-05-20 04:12: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', '2015-05-20 04:12:25', '2015-05-20 04:12: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', '2015-05-20 04:12:25', '2015-05-20 04:12: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', '2015-05-20 04:12:25', '2015-05-20 04:12:25', 229906743, 'Shop', 980190962, 229906743) 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', '2015-05-20 04:12:25', '2015-05-20 04:12:25', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-20 04:12:25', '2015-05-20 04:12:25', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-20 04:12:25', '2015-05-20 04:12:25', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-20 04:12:25', '2015-05-20 04:12:25', 229906743) 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, '2015-05-20 04:12:25', '2015-05-20 04:12:25', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-20 04:12:25', '2015-05-20 04:12:25', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:12:25', '2015-05-20 04:12:25', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-20 04:12:25', '2015-05-20 04:12:25', 298486374)  (53.9ms) 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.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_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 (1.0ms) 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) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.4ms) 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.2ms) 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