(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 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (281.7ms) DROP TABLE "extface_devices"  (121.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)   (96.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)   (80.5ms) DROP TABLE "extface_jobs"  (62.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(*)  (67.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.7ms) 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.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-21 00:40:44', '2015-05-21 00:40: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-21 00:40:44', '2015-05-21 00:40: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-21 00:40:44', '2015-05-21 00:40: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-21 00:40:44', '2015-05-21 00:40:44', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-05-21 00:40:44', '2015-05-21 00:40: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-21 00:40:44', '2015-05-21 00:40:44', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 00:40:44', '2015-05-21 00:40:44', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 00:40:44', '2015-05-21 00:40:44', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 00:40:44', '2015-05-21 00:40: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-21 00:40:44', '2015-05-21 00:40:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 00:40:44', '2015-05-21 00:40:44', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:40:44', '2015-05-21 00:40:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:40:44', '2015-05-21 00:40:44', 298486374)  (88.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.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.6ms) 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.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"  (73.3ms) DROP TABLE "extface_devices"  (73.7ms) 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.9ms) DROP TABLE "extface_drivers"  (73.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.4ms) 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(*)  (73.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.7ms) 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)   (61.7ms) 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-21 00:49:13', '2015-05-21 00:49: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-21 00:49:13', '2015-05-21 00:49:13', 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-21 00:49:13', '2015-05-21 00:49: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-21 00:49:13', '2015-05-21 00:49: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 ('datecs_fp550', 'Datect FP550', '2015-05-21 00:49:13', '2015-05-21 00:49: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-21 00:49:13', '2015-05-21 00:49:13', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 00:49:13', '2015-05-21 00:49:13', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 00:49:13', '2015-05-21 00:49:13', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 00:49:13', '2015-05-21 00:49:13', 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-21 00:49:13', '2015-05-21 00:49:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 00:49:13', '2015-05-21 00:49:13', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:49:13', '2015-05-21 00:49:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:49:13', '2015-05-21 00:49:13', 298486374)  (61.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.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.3ms) rollback transaction  (0.0ms) 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]]  (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"  (88.8ms) 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)   (69.8ms) DROP TABLE "extface_drivers"  (76.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.4ms) DROP TABLE "extface_jobs"  (81.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (72.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.0ms) DROP TABLE "extface_serial_configs"  (89.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)   (71.0ms) DROP TABLE "shops"  (73.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-21 00:54:25', '2015-05-21 00:54: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-21 00:54:25', '2015-05-21 00:54: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-21 00:54:25', '2015-05-21 00:54: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-21 00:54:25', '2015-05-21 00:54: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-21 00:54:25', '2015-05-21 00:54:25', 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-21 00:54:25', '2015-05-21 00:54:25', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 00:54:25', '2015-05-21 00:54:25', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 00:54:25', '2015-05-21 00:54:25', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 00:54:25', '2015-05-21 00:54: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-21 00:54:25', '2015-05-21 00:54:25', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 00:54:25', '2015-05-21 00:54:25', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:54:25', '2015-05-21 00:54:25', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:54:25', '2015-05-21 00:54:25', 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.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.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.5ms) 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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (169.9ms) DROP TABLE "extface_devices"  (98.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.2ms) 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)   (64.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")  (64.8ms) 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)   (73.0ms) DROP TABLE "shops"  (70.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-21 00:56:35', '2015-05-21 00:56:35', 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-21 00:56:35', '2015-05-21 00:56:35', 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-21 00:56:35', '2015-05-21 00:56:35', 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-21 00:56:35', '2015-05-21 00:56:35', 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-21 00:56:35', '2015-05-21 00:56:35', 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-21 00:56:35', '2015-05-21 00:56:35', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 00:56:35', '2015-05-21 00:56:35', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 00:56:35', '2015-05-21 00:56:35', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 00:56:35', '2015-05-21 00:56:35', 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-21 00:56:35', '2015-05-21 00:56:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 00:56:35', '2015-05-21 00:56:35', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:56:35', '2015-05-21 00:56:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:56:35', '2015-05-21 00:56:35', 298486374)  (65.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.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.5ms) 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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (112.0ms) 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.9ms) DROP TABLE "extface_drivers"  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.4ms) 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.3ms) select sqlite_version(*)  (72.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.7ms) DROP TABLE "extface_serial_configs"  (70.7ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (67.6ms) DROP TABLE "shops"  (70.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-21 00:57:06', '2015-05-21 00:57:06', 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-21 00:57:06', '2015-05-21 00:57:06', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-05-21 00:57:06', '2015-05-21 00:57:06', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-05-21 00:57:06', '2015-05-21 00:57:06', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-05-21 00:57:06', '2015-05-21 00:57:06', 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-21 00:57:06', '2015-05-21 00:57:06', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 00:57:06', '2015-05-21 00:57:06', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 00:57:06', '2015-05-21 00:57:06', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 00:57:06', '2015-05-21 00:57:06', 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-21 00:57:06', '2015-05-21 00:57:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 00:57:06', '2015-05-21 00:57:06', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:57:06', '2015-05-21 00:57:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:57:06', '2015-05-21 00:57:06', 298486374)  (59.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.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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) begin transaction SQL (0.3ms) UPDATE "extface_jobs" SET "connected_at" = ?, "updated_at" = ? WHERE "extface_jobs"."id" = 980190962 [["connected_at", "2015-05-21 00:57:07.759492"], ["updated_at", "2015-05-21 00:57:07.762386"]]  (5007.8ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.3ms) rollback transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_handle ----------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.2ms) 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.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"  (96.7ms) DROP TABLE "extface_devices"  (81.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.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.4ms) 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.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.6ms) DROP TABLE "extface_serial_configs"  (81.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)   (81.2ms) DROP TABLE "shops"  (62.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-21 00:59:56', '2015-05-21 00:59: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-21 00:59:56', '2015-05-21 00:59:56', 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-21 00:59:56', '2015-05-21 00:59: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-21 00:59:56', '2015-05-21 00:59: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 ('datecs_fp550', 'Datect FP550', '2015-05-21 00:59:56', '2015-05-21 00:59:56', 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-21 00:59:56', '2015-05-21 00:59:56', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 00:59:56', '2015-05-21 00:59:56', 412842077) Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 00:59:56', '2015-05-21 00:59:56', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 00:59:56', '2015-05-21 00:59: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-21 00:59:56', '2015-05-21 00:59:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 00:59:56', '2015-05-21 00:59:56', 298486374) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:59:56', '2015-05-21 00:59:56', 980190962) Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 00:59:56', '2015-05-21 00:59:56', 298486374)  (59.0ms) 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.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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) begin transaction SQL (0.5ms) UPDATE "extface_jobs" SET "connected_at" = ?, "updated_at" = ? WHERE "extface_jobs"."id" = 980190962 [["connected_at", "2015-05-21 00:59:57.486661"], ["updated_at", "2015-05-21 00:59:57.492280"]]  (5007.4ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.3ms) rollback transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_handle ----------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.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"  (171.5ms) DROP TABLE "extface_devices"  (65.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)   (78.7ms) DROP TABLE "extface_drivers"  (68.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (65.3ms) DROP TABLE "extface_jobs"  (81.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.1ms) select sqlite_version(*)  (65.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (65.4ms) DROP TABLE "extface_serial_configs"  (70.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)   (56.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-21 01:01:03', '2015-05-21 01:01:03', 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-21 01:01:03', '2015-05-21 01:01:03', 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-21 01:01:03', '2015-05-21 01:01:03', 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-21 01:01:03', '2015-05-21 01:01:03', 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-21 01:01:03', '2015-05-21 01:01:03', 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-21 01:01:03', '2015-05-21 01:01:03', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:01:03', '2015-05-21 01:01:03', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:01:03', '2015-05-21 01:01:03', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:01:03', '2015-05-21 01:01:03', 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-21 01:01:03', '2015-05-21 01:01:03', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:01:03', '2015-05-21 01:01:03', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:01:03', '2015-05-21 01:01:03', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:01:03', '2015-05-21 01:01:03', 298486374)  (53.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]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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) begin transaction SQL (0.3ms) UPDATE "extface_jobs" SET "connected_at" = ?, "updated_at" = ? WHERE "extface_jobs"."id" = 980190962 [["connected_at", "2015-05-21 01:01:04.256941"], ["updated_at", "2015-05-21 01:01:04.261730"]]  (10013.3ms) commit transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_handle ----------------------------------------------- Extface::Driver Load (10013.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] SQLite3::BusyException: database is locked: SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_response_frame ------------------------------------------------------- Extface::Driver Load (10014.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] SQLite3::BusyException: database is locked: SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (88.3ms) DROP TABLE "extface_devices"  (70.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime)   (64.7ms) 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)   (59.1ms) DROP TABLE "extface_jobs"  (62.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (64.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (67.5ms) 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"  (70.6ms) 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-21 01:03:28', '2015-05-21 01:03:28', 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-21 01:03:28', '2015-05-21 01:03:28', 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-21 01:03:28', '2015-05-21 01:03:28', 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-21 01:03:28', '2015-05-21 01:03:28', 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-21 01:03:28', '2015-05-21 01:03:28', 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-21 01:03:28', '2015-05-21 01:03:28', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:03:28', '2015-05-21 01:03:28', 412842077) Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:03:28', '2015-05-21 01:03:28', 599072141) Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:03:28', '2015-05-21 01:03:28', 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-21 01:03:28', '2015-05-21 01:03:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:03:28', '2015-05-21 01:03:28', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:03:28', '2015-05-21 01:03:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:03:28', '2015-05-21 01:03:28', 298486374)  (60.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.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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) begin transaction SQL (0.4ms) UPDATE "extface_jobs" SET "connected_at" = ?, "updated_at" = ? WHERE "extface_jobs"."id" = 980190962 [["connected_at", "2015-05-21 01:03:29.142104"], ["updated_at", "2015-05-21 01:03:29.148383"]]  (30035.0ms) commit transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_handle ----------------------------------------------- Extface::Driver Load (30036.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] SQLite3::BusyException: database is locked: SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_response_frame ------------------------------------------------------- Extface::Driver Load (30036.7ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] SQLite3::BusyException: database is locked: SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (87.6ms) DROP TABLE "extface_devices"  (65.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)   (65.0ms) DROP TABLE "extface_drivers"  (92.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (141.9ms) DROP TABLE "extface_jobs"  (75.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.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.2ms) DROP TABLE "extface_serial_configs"  (70.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (56.3ms) DROP TABLE "shops"  (65.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) SELECT version FROM "schema_migrations"  (0.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-21 01:05:16', '2015-05-21 01:05:16', 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-21 01:05:16', '2015-05-21 01:05: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-21 01:05:16', '2015-05-21 01:05: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-21 01:05:16', '2015-05-21 01:05: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 ('datecs_fp550', 'Datect FP550', '2015-05-21 01:05:16', '2015-05-21 01:05:16', 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-21 01:05:16', '2015-05-21 01:05:16', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:05:16', '2015-05-21 01:05:16', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:05:16', '2015-05-21 01:05:16', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:05:16', '2015-05-21 01:05: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-21 01:05:16', '2015-05-21 01:05:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:05:16', '2015-05-21 01:05:16', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:05:16', '2015-05-21 01:05:16', 980190962) Fixture Insert (0.2ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:05:16', '2015-05-21 01:05:16', 298486374)  (71.6ms) 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]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_handle ----------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.1ms) rollback transaction  (0.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.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (145.0ms) DROP TABLE "extface_devices"  (65.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"  (65.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (59.3ms) DROP TABLE "extface_jobs"  (62.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(*)  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.7ms) 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)   (73.4ms) DROP TABLE "shops"  (62.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.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-21 01:07:53', '2015-05-21 01:07:53', 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-21 01:07:53', '2015-05-21 01:07:53', 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-21 01:07:53', '2015-05-21 01:07:53', 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-21 01:07:53', '2015-05-21 01:07:53', 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-21 01:07:53', '2015-05-21 01:07:53', 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-21 01:07:53', '2015-05-21 01:07:53', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:07:53', '2015-05-21 01:07:53', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:07:53', '2015-05-21 01:07:53', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:07:53', '2015-05-21 01:07:53', 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-21 01:07:53', '2015-05-21 01:07:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:07:53', '2015-05-21 01:07:53', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:07:53', '2015-05-21 01:07:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:07:53', '2015-05-21 01:07:53', 298486374)  (49.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.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"  (91.3ms) DROP TABLE "extface_devices"  (172.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.4ms) DROP TABLE "extface_drivers"  (73.8ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (55.9ms) DROP TABLE "extface_jobs"  (73.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (112.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (74.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)   (72.7ms) 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-21 01:08:03', '2015-05-21 01:08:03', 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-21 01:08:03', '2015-05-21 01:08:03', 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-21 01:08:03', '2015-05-21 01:08:03', 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-21 01:08:03', '2015-05-21 01:08:03', 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-21 01:08:03', '2015-05-21 01:08:03', 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-21 01:08:03', '2015-05-21 01:08:03', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:08:03', '2015-05-21 01:08:03', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:08:03', '2015-05-21 01:08:03', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:08:03', '2015-05-21 01:08:03', 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-21 01:08:03', '2015-05-21 01:08:03', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:08:03', '2015-05-21 01:08:03', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:08:03', '2015-05-21 01:08:03', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:08:03', '2015-05-21 01:08:03', 298486374)  (58.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.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (113.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)   (62.0ms) DROP TABLE "extface_drivers"  (76.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"  (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(*)  (64.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (48.2ms) 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.7ms) 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.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-21 01:09:23', '2015-05-21 01:09: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-21 01:09:23', '2015-05-21 01:09: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-21 01:09:23', '2015-05-21 01:09: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-21 01:09:23', '2015-05-21 01:09: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-21 01:09:23', '2015-05-21 01:09:23', 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-21 01:09:23', '2015-05-21 01:09:23', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:09:23', '2015-05-21 01:09:23', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:09:23', '2015-05-21 01:09:23', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:09:23', '2015-05-21 01:09: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-21 01:09:23', '2015-05-21 01:09:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:09:23', '2015-05-21 01:09:23', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:09:23', '2015-05-21 01:09:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:09:23', '2015-05-21 01:09:23', 298486374)  (56.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.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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.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.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (107.1ms) DROP TABLE "extface_devices"  (89.7ms) 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)   (113.8ms) DROP TABLE "extface_drivers"  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (56.2ms) DROP TABLE "extface_jobs"  (73.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(*)  (72.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (48.0ms) 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"  (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-21 01:09:55', '2015-05-21 01:09: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-21 01:09:55', '2015-05-21 01:09: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-21 01:09:55', '2015-05-21 01:09: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-21 01:09:55', '2015-05-21 01:09: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 ('datecs_fp550', 'Datect FP550', '2015-05-21 01:09:55', '2015-05-21 01:09: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-21 01:09:55', '2015-05-21 01:09:55', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:09:55', '2015-05-21 01:09:55', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:09:55', '2015-05-21 01:09:55', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:09:55', '2015-05-21 01:09: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-21 01:09:55', '2015-05-21 01:09:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:09:55', '2015-05-21 01:09:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:09:55', '2015-05-21 01:09:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:09:55', '2015-05-21 01:09:55', 298486374)  (62.4ms) 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.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.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]] 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.9ms) 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.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"  (88.3ms) 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)   (56.5ms) DROP TABLE "extface_drivers"  (57.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (50.9ms) 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.3ms) select sqlite_version(*)  (75.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.5ms) 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)   (64.8ms) DROP TABLE "shops"  (65.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-21 01:18:51', '2015-05-21 01:18:51', 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-21 01:18:51', '2015-05-21 01:18:51', 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-21 01:18:51', '2015-05-21 01:18:51', 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-21 01:18:51', '2015-05-21 01:18:51', 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-21 01:18:51', '2015-05-21 01:18:51', 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-21 01:18:51', '2015-05-21 01:18:51', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:18:51', '2015-05-21 01:18:51', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:18:51', '2015-05-21 01:18:51', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:18:51', '2015-05-21 01:18:51', 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-21 01:18:51', '2015-05-21 01:18:51', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:18:51', '2015-05-21 01:18:51', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:18:51', '2015-05-21 01:18:51', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:18:51', '2015-05-21 01:18:51', 298486374)  (60.2ms) 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.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.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]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (87.6ms) 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)   (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)   (64.8ms) DROP TABLE "extface_jobs"  (73.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (72.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.5ms) DROP TABLE "extface_serial_configs"  (73.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (72.9ms) 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-21 01:23:13', '2015-05-21 01:23:13', 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-21 01:23:13', '2015-05-21 01:23:13', 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-21 01:23:13', '2015-05-21 01:23: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-21 01:23:13', '2015-05-21 01:23: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 ('datecs_fp550', 'Datect FP550', '2015-05-21 01:23:13', '2015-05-21 01:23: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-21 01:23:13', '2015-05-21 01:23:13', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:23:13', '2015-05-21 01:23:13', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:23:13', '2015-05-21 01:23:13', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:23:13', '2015-05-21 01:23:13', 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-21 01:23:13', '2015-05-21 01:23:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:23:13', '2015-05-21 01:23:13', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:23:13', '2015-05-21 01:23:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:23:13', '2015-05-21 01:23:13', 298486374)  (62.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.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (170.7ms) DROP TABLE "extface_devices"  (73.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime)   (72.8ms) DROP TABLE "extface_drivers"  (73.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.4ms) 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.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.4ms) DROP TABLE "extface_serial_configs"  (65.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)   (73.3ms) DROP TABLE "shops"  (73.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.2ms) begin transaction Fixture Delete (0.3ms) 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-21 01:24:49', '2015-05-21 01:24:49', 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-21 01:24:49', '2015-05-21 01:24:49', 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-21 01:24:49', '2015-05-21 01:24:49', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-05-21 01:24:49', '2015-05-21 01:24:49', 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-21 01:24:49', '2015-05-21 01:24:49', 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-21 01:24:49', '2015-05-21 01:24:49', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:24:49', '2015-05-21 01:24:49', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:24:49', '2015-05-21 01:24:49', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:24:49', '2015-05-21 01:24:49', 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-21 01:24:49', '2015-05-21 01:24:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:24:49', '2015-05-21 01:24:49', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:24:49', '2015-05-21 01:24:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:24:49', '2015-05-21 01:24:49', 298486374)  (64.5ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_build_packet ----------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.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.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_handle ----------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.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"  (90.6ms) 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.4ms) DROP TABLE "extface_drivers"  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.6ms) DROP TABLE "extface_jobs"  (95.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(*)  (75.4ms) 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)   (72.7ms) DROP TABLE "shops"  (73.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.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-21 01:25:12', '2015-05-21 01:25:12', 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-21 01:25:12', '2015-05-21 01:25:12', 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-21 01:25:12', '2015-05-21 01:25:12', 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-21 01:25:12', '2015-05-21 01:25:12', 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-21 01:25:12', '2015-05-21 01:25:12', 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-21 01:25:12', '2015-05-21 01:25:12', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:25:12', '2015-05-21 01:25:12', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:25:12', '2015-05-21 01:25:12', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:25:12', '2015-05-21 01:25:12', 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-21 01:25:12', '2015-05-21 01:25:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:25:12', '2015-05-21 01:25:12', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:25:12', '2015-05-21 01:25:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:25:12', '2015-05-21 01:25:12', 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.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.3ms) 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]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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"  (92.1ms) 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.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)   (58.9ms) DROP TABLE "extface_jobs"  (54.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.3ms) select sqlite_version(*)  (55.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (67.1ms) DROP TABLE "extface_serial_configs"  (73.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (61.4ms) DROP TABLE "shops"  (68.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-21 01:25:29', '2015-05-21 01:25:29', 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-21 01:25:29', '2015-05-21 01:25:29', 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-21 01:25:29', '2015-05-21 01:25:29', 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-21 01:25:29', '2015-05-21 01:25:29', 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-21 01:25:29', '2015-05-21 01:25:29', 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-21 01:25:29', '2015-05-21 01:25:29', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:25:29', '2015-05-21 01:25:29', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:25:29', '2015-05-21 01:25:29', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:25:29', '2015-05-21 01:25:29', 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-21 01:25:29', '2015-05-21 01:25:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:25:29', '2015-05-21 01:25:29', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:25:29', '2015-05-21 01:25:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:25:29', '2015-05-21 01:25:29', 298486374)  (58.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]] 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]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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"  (68.3ms) 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.3ms) 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.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.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.2ms) DROP TABLE "extface_serial_configs"  (62.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (64.3ms) 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-21 01:34:14', '2015-05-21 01:34: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-21 01:34:14', '2015-05-21 01:34: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-21 01:34:14', '2015-05-21 01:34: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-21 01:34:14', '2015-05-21 01:34: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-21 01:34:14', '2015-05-21 01:34: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-21 01:34:14', '2015-05-21 01:34:14', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:34:14', '2015-05-21 01:34:14', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:34:14', '2015-05-21 01:34:14', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:34:14', '2015-05-21 01:34: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-21 01:34:14', '2015-05-21 01:34:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:34:14', '2015-05-21 01:34:14', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:34:14', '2015-05-21 01:34:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:34:14', '2015-05-21 01:34:14', 298486374)  (65.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.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]  (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.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.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"  (66.2ms) DROP TABLE "extface_devices"  (73.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime)   (72.6ms) DROP TABLE "extface_drivers"  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.3ms) DROP TABLE "extface_jobs"  (73.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.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.4ms) 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)   (76.0ms) 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-21 01:34:55', '2015-05-21 01:34: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-21 01:34:55', '2015-05-21 01:34: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-21 01:34:55', '2015-05-21 01:34: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-21 01:34:55', '2015-05-21 01:34: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 ('datecs_fp550', 'Datect FP550', '2015-05-21 01:34:55', '2015-05-21 01:34: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-21 01:34:55', '2015-05-21 01:34:55', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:34:55', '2015-05-21 01:34:55', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:34:55', '2015-05-21 01:34:55', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:34:55', '2015-05-21 01:34: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-21 01:34:55', '2015-05-21 01:34:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:34:55', '2015-05-21 01:34:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:34:55', '2015-05-21 01:34:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:34:55', '2015-05-21 01:34:55', 298486374)  (52.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.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]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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.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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (101.3ms) 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)   (61.8ms) 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)   (50.9ms) DROP TABLE "extface_jobs"  (62.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(*)  (75.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (146.9ms) 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)   (64.5ms) DROP TABLE "shops"  (65.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.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-21 01:36:07', '2015-05-21 01:36: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-21 01:36:07', '2015-05-21 01:36: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-21 01:36:07', '2015-05-21 01:36: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-21 01:36:07', '2015-05-21 01:36: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 ('datecs_fp550', 'Datect FP550', '2015-05-21 01:36:07', '2015-05-21 01:36: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-21 01:36:07', '2015-05-21 01:36:07', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:36:07', '2015-05-21 01:36:07', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:36:07', '2015-05-21 01:36:07', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:36:07', '2015-05-21 01:36: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-21 01:36:07', '2015-05-21 01:36:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:36:07', '2015-05-21 01:36:07', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:36:07', '2015-05-21 01:36:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:36:07', '2015-05-21 01:36:07', 298486374)  (65.4ms) 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.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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"  (123.3ms) 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.8ms) DROP TABLE "extface_drivers"  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.4ms) DROP TABLE "extface_jobs"  (73.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(*)  (72.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (72.7ms) DROP TABLE "extface_serial_configs"  (81.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)   (81.2ms) DROP TABLE "shops"  (82.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations"  (0.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-21 01:36:42', '2015-05-21 01:36:42', 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-21 01:36:42', '2015-05-21 01:36:42', 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-21 01:36:42', '2015-05-21 01:36:42', 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-21 01:36:42', '2015-05-21 01:36:42', 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-21 01:36:42', '2015-05-21 01:36:42', 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-21 01:36:42', '2015-05-21 01:36:42', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-05-21 01:36:42', '2015-05-21 01:36:42', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-05-21 01:36:42', '2015-05-21 01:36:42', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-05-21 01:36:42', '2015-05-21 01:36:42', 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-21 01:36:42', '2015-05-21 01:36:42', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-05-21 01:36:42', '2015-05-21 01:36:42', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:36:42', '2015-05-21 01:36:42', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-05-21 01:36:42', '2015-05-21 01:36:42', 298486374)  (61.2ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_build_packet ----------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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]] 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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (108.1ms) DROP TABLE "extface_devices"  (65.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"  (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.1ms) 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.7ms) 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)   (72.9ms) DROP TABLE "shops"  (73.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) SELECT version FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) 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-08-21 02:58:49', '2015-08-21 02:58:49', 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-08-21 02:58:49', '2015-08-21 02:58:49', 298486374, 599072141) Fixture Delete (0.2ms) DELETE FROM "extface_devices" Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 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-08-21 02:58:49', '2015-08-21 02:58:49', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 02:58:49', '2015-08-21 02:58:49', 229906743) 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-08-21 02:58:49', '2015-08-21 02:58:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 02:58:49', '2015-08-21 02:58:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 02:58:49', '2015-08-21 02:58:49', 298486374)  (77.4ms) 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.4ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.3ms) 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]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.8ms) 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.4ms) 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.3ms) 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)   (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.4ms) 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(*)  (81.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.4ms) DROP TABLE "extface_serial_configs"  (81.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (72.8ms) DROP TABLE "shops"  (62.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-08-21 03:15:08', '2015-08-21 03:15:08', 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-08-21 03:15:08', '2015-08-21 03:15:08', 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-08-21 03:15:08', '2015-08-21 03:15:08', 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-08-21 03:15:08', '2015-08-21 03:15:08', 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-08-21 03:15:08', '2015-08-21 03:15:08', 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-08-21 03:15:08', '2015-08-21 03:15:08', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:15:08', '2015-08-21 03:15:08', 229906743) 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-08-21 03:15:08', '2015-08-21 03:15:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:08', '2015-08-21 03:15:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:08', '2015-08-21 03:15:08', 298486374)  (53.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.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.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.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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (119.9ms) 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.8ms) DROP TABLE "extface_drivers"  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.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.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.3ms) DROP TABLE "extface_serial_configs"  (64.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)   (64.5ms) 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-08-21 03:15:27', '2015-08-21 03:15:27', 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-08-21 03:15:27', '2015-08-21 03:15:27', 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-08-21 03:15:27', '2015-08-21 03:15:27', 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-08-21 03:15:27', '2015-08-21 03:15:27', 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-08-21 03:15:27', '2015-08-21 03:15:27', 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-08-21 03:15:27', '2015-08-21 03:15:27', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:15:27', '2015-08-21 03:15:27', 229906743) 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-08-21 03:15:27', '2015-08-21 03:15:27', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:27', '2015-08-21 03:15:27', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:27', '2015-08-21 03:15:27', 298486374)  (51.6ms) 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.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.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.1ms) 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 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (88.4ms) 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)   (72.7ms) DROP TABLE "extface_drivers"  (62.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (59.1ms) DROP TABLE "extface_jobs"  (62.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(*)  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.1ms) DROP TABLE "extface_serial_configs"  (62.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)   (56.3ms) DROP TABLE "shops"  (65.6ms) 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-08-21 03:15:43', '2015-08-21 03:15: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-08-21 03:15:43', '2015-08-21 03:15: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-08-21 03:15:43', '2015-08-21 03:15: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-08-21 03:15:43', '2015-08-21 03:15: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 ('datecs_fp550', 'Datect FP550', '2015-08-21 03:15:43', '2015-08-21 03:15: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-08-21 03:15:43', '2015-08-21 03:15:43', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:15:43', '2015-08-21 03:15:43', 229906743) 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-08-21 03:15:43', '2015-08-21 03:15:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:43', '2015-08-21 03:15:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:15:43', '2015-08-21 03:15:43', 298486374)  (60.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.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.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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (79.3ms) DROP TABLE "extface_devices"  (65.7ms) 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.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)   (47.5ms) 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.0ms) 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.8ms) 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-08-21 03:17:54', '2015-08-21 03:17:54', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 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-08-21 03:17:54', '2015-08-21 03:17:54', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:17:54', '2015-08-21 03:17:54', 229906743) 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-08-21 03:17:54', '2015-08-21 03:17:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:17:54', '2015-08-21 03:17:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:17:54', '2015-08-21 03:17:54', 298486374)  (61.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.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"."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]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (95.9ms) DROP TABLE "extface_devices"  (56.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime)   (75.6ms) DROP TABLE "extface_drivers"  (54.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (51.0ms) DROP TABLE "extface_jobs"  (54.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (64.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.4ms) 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)   (78.1ms) DROP TABLE "shops"  (68.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.5ms) 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-08-21 03:18:16', '2015-08-21 03:18:16', 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-08-21 03:18:16', '2015-08-21 03:18: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-08-21 03:18:16', '2015-08-21 03:18: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-08-21 03:18:16', '2015-08-21 03:18: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 ('datecs_fp550', 'Datect FP550', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 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-08-21 03:18:16', '2015-08-21 03:18:16', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:18:16', '2015-08-21 03:18:16', 229906743) 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-08-21 03:18:16', '2015-08-21 03:18:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:18:16', '2015-08-21 03:18:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:18:16', '2015-08-21 03:18:16', 298486374)  (54.2ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_build_packet ----------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (105.5ms) 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)   (53.2ms) DROP TABLE "extface_drivers"  (76.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (48.3ms) 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.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.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)   (408.6ms) DROP TABLE "shops"  (75.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.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-08-21 03:21:02', '2015-08-21 03:21:02', 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-08-21 03:21:02', '2015-08-21 03:21:02', 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-08-21 03:21:02', '2015-08-21 03:21:02', 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-08-21 03:21:02', '2015-08-21 03:21: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 ('datecs_fp550', 'Datect FP550', '2015-08-21 03:21:02', '2015-08-21 03:21: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-08-21 03:21:02', '2015-08-21 03:21:02', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:21:02', '2015-08-21 03:21:02', 229906743) 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-08-21 03:21:02', '2015-08-21 03:21:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:21:02', '2015-08-21 03:21:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:21:02', '2015-08-21 03:21:02', 298486374)  (67.0ms) 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.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.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.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.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.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"  (113.7ms) DROP TABLE "extface_devices"  (62.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)   (67.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)   (56.7ms) 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(*)  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.5ms) 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)   (73.0ms) DROP TABLE "shops"  (74.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.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-08-21 03:22:58', '2015-08-21 03:22: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-08-21 03:22:58', '2015-08-21 03:22: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-08-21 03:22:58', '2015-08-21 03:22: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-08-21 03:22:58', '2015-08-21 03:22:58', 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-08-21 03:22:58', '2015-08-21 03:22: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-08-21 03:22:58', '2015-08-21 03:22:58', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:22:58', '2015-08-21 03:22:58', 229906743) 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-08-21 03:22:58', '2015-08-21 03:22:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:22:58', '2015-08-21 03:22:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:22:58', '2015-08-21 03:22:58', 298486374)  (48.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]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (1.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_handle ----------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.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.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (81.6ms) DROP TABLE "extface_devices"  (70.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)   (67.5ms) DROP TABLE "extface_drivers"  (73.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.7ms) 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")  (64.7ms) 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.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-08-21 03:29:04', '2015-08-21 03:29:04', 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-08-21 03:29:04', '2015-08-21 03:29:04', 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-08-21 03:29:04', '2015-08-21 03:29:04', 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-08-21 03:29:04', '2015-08-21 03:29:04', 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-08-21 03:29:04', '2015-08-21 03:29:04', 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-08-21 03:29:04', '2015-08-21 03:29:04', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:29:04', '2015-08-21 03:29:04', 229906743) 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-08-21 03:29:04', '2015-08-21 03:29:04', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:04', '2015-08-21 03:29:04', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:04', '2015-08-21 03:29:04', 298486374)  (63.8ms) 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 (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.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]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (98.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.5ms) 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.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.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (55.7ms) 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)   (80.6ms) DROP TABLE "shops"  (73.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-08-21 03:29:52', '2015-08-21 03:29:52', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 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-08-21 03:29:52', '2015-08-21 03:29:52', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:29:52', '2015-08-21 03:29:52', 229906743) 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-08-21 03:29:52', '2015-08-21 03:29:52', 980190962) Fixture Insert (0.2ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:52', '2015-08-21 03:29:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:29:52', '2015-08-21 03:29:52', 298486374)  (64.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.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (87.4ms) DROP TABLE "extface_devices"  (84.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)   (64.7ms) DROP TABLE "extface_drivers"  (62.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (50.8ms) 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(*)  (61.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.3ms) 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.5ms) DROP TABLE "shops"  (73.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-08-21 03:30:24', '2015-08-21 03:30:24', 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-08-21 03:30:24', '2015-08-21 03:30:24', 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-08-21 03:30:24', '2015-08-21 03:30:24', 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-08-21 03:30:24', '2015-08-21 03:30:24', 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-08-21 03:30:24', '2015-08-21 03:30:24', 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-08-21 03:30:24', '2015-08-21 03:30:24', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-08-21 03:30:24', '2015-08-21 03:30:24', 229906743) 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-08-21 03:30:24', '2015-08-21 03:30:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:30:24', '2015-08-21 03:30:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-08-21 03:30:24', '2015-08-21 03:30:24', 298486374)  (60.4ms) 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.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]  (0.9ms) 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.1ms) 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.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (292.0ms) DROP TABLE "extface_devices"  (106.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)   (81.0ms) DROP TABLE "extface_drivers"  (90.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.4ms) DROP TABLE "extface_jobs"  (115.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(*)  (81.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.6ms) DROP TABLE "extface_serial_configs"  (65.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"  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (73.9ms) DROP TABLE "extface_devices"  (60.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.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)   (56.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.2ms) select sqlite_version(*)  (61.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.1ms) 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)   (92.0ms) 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" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (85.4ms) 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"  (62.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (51.0ms) 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(*)  (61.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.1ms) DROP TABLE "extface_serial_configs"  (70.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (64.4ms) 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" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (219.8ms) DROP TABLE "extface_devices"  (61.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.3ms) 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)   (50.9ms) DROP TABLE "extface_jobs"  (54.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (50.8ms) 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)   (56.1ms) DROP TABLE "shops"  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.4ms) 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-12-19 15:05:01', '2015-12-19 15:05:01', 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-12-19 15:05:01', '2015-12-19 15:05:01', 298486374, 599072141) Fixture Delete (0.2ms) DELETE FROM "extface_devices" Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.3ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 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-12-19 15:05:01', '2015-12-19 15:05:01', 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-12-19 15:05:01', '2015-12-19 15:05:01', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 40760454) 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-12-19 15:05:01', '2015-12-19 15:05:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374)  (78.7ms) commit transaction  (0.1ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (62.6ms) DROP TABLE "extface_devices"  (76.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.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)   (48.0ms) 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.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (47.9ms) 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"  (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.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-12-19 15:07:52', '2015-12-19 15:07:52', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.3ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:07:52', '2015-12-19 15:07:52', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 40760454) 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-12-19 15:07:52', '2015-12-19 15:07:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374)  (45.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (79.1ms) 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)   (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)   (56.5ms) 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(*)  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.4ms) DROP TABLE "extface_serial_configs"  (65.1ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (64.7ms) DROP TABLE "shops"  (65.6ms) 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-12-19 15:10:09', '2015-12-19 15:10: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-12-19 15:10:09', '2015-12-19 15:10: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-12-19 15:10:09', '2015-12-19 15:10: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-12-19 15:10:09', '2015-12-19 15:10: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 ('datecs_fp550', 'Datect FP550', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:10:09', '2015-12-19 15:10:09', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 40760454) 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-12-19 15:10:09', '2015-12-19 15:10:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:10:09', '2015-12-19 15:10:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374)  (54.7ms) commit transaction  (0.2ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (150.7ms) 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.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)   (97.5ms) 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.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.5ms) DROP TABLE "extface_serial_configs"  (73.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (72.7ms) 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.3ms) 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-12-19 15:13:09', '2015-12-19 15:13: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-12-19 15:13:09', '2015-12-19 15:13: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-12-19 15:13:09', '2015-12-19 15:13: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-12-19 15:13:09', '2015-12-19 15:13: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 ('datecs_fp550', 'Datect FP550', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:13:09', '2015-12-19 15:13:09', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 40760454) 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-12-19 15:13:09', '2015-12-19 15:13:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:13:09', '2015-12-19 15:13:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374)  (48.6ms) commit transaction  (0.2ms) begin transaction ----------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_build_packet ----------------------------------------------------- Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.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.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.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.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]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (90.0ms) DROP TABLE "extface_devices"  (106.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)   (86.1ms) DROP TABLE "extface_drivers"  (82.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (75.8ms) 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")  (64.5ms) 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.1ms) DROP TABLE "shops"  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (93.1ms) DROP TABLE "extface_devices"  (86.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime)   (72.5ms) DROP TABLE "extface_drivers"  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (75.7ms) DROP TABLE "extface_jobs"  (86.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(*)  (83.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.2ms) 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.5ms) DROP TABLE "shops"  (65.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (64.8ms) DROP TABLE "extface_devices"  (65.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)   (65.4ms) DROP TABLE "extface_drivers"  (65.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (56.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(*)  (72.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.8ms) DROP TABLE "extface_serial_configs"  (73.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (72.7ms) 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" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (101.6ms) DROP TABLE "extface_devices"  (65.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.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.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(*)  (72.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.6ms) DROP TABLE "extface_serial_configs"  (73.7ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (72.7ms) 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" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (88.7ms) DROP TABLE "extface_devices"  (87.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)   (72.8ms) DROP TABLE "extface_drivers"  (59.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (56.2ms) 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.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.5ms) 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.7ms) 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.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-12-19 15:20:54', '2015-12-19 15:20:54', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374, 599072141) Fixture Delete (0.2ms) DELETE FROM "extface_devices" Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 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-12-19 15:20:54', '2015-12-19 15:20:54', 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-12-19 15:20:54', '2015-12-19 15:20:54', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:20:54', '2015-12-19 15:20:54', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 412842077) Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 40760454) 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-12-19 15:20:54', '2015-12-19 15:20:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:20:54', '2015-12-19 15:20:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374)  (56.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.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.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.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]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (132.2ms) 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.5ms) 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.1ms) 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.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.4ms) DROP TABLE "extface_serial_configs"  (98.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (73.2ms) DROP TABLE "shops"  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (116.9ms) 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.3ms) DROP TABLE "extface_drivers"  (57.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (51.1ms) DROP TABLE "extface_jobs"  (62.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.1ms) 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)   (56.2ms) 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-12-19 15:22:00', '2015-12-19 15:22: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-12-19 15:22:00', '2015-12-19 15:22:00', 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-12-19 15:22:00', '2015-12-19 15:22: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-12-19 15:22:00', '2015-12-19 15:22: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-12-19 15:22:00', '2015-12-19 15:22:00', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:22:00', '2015-12-19 15:22:00', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 40760454) 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-12-19 15:22:00', '2015-12-19 15:22:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:22:00', '2015-12-19 15:22:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374)  (53.2ms) commit transaction  (0.2ms) begin transaction ----------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_handle ----------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.3ms) 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"  (72.6ms) 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.1ms) 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.3ms) select sqlite_version(*)  (97.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (89.2ms) 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.6ms) DROP TABLE "shops"  (84.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.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-12-19 15:24:13', '2015-12-19 15:24: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-12-19 15:24:13', '2015-12-19 15:24:13', 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-12-19 15:24:13', '2015-12-19 15:24: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-12-19 15:24:13', '2015-12-19 15:24: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 ('datecs_fp550', 'Datect FP550', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:24:13', '2015-12-19 15:24:13', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 40760454) 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-12-19 15:24:13', '2015-12-19 15:24:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:24:13', '2015-12-19 15:24:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374)  (53.8ms) commit transaction  (0.1ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (84.8ms) DROP TABLE "extface_devices"  (81.7ms) 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.0ms) DROP TABLE "extface_drivers"  (81.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (72.9ms) DROP TABLE "extface_jobs"  (81.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (53.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (73.8ms) DROP TABLE "extface_serial_configs"  (72.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)   (56.2ms) 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-12-19 15:26:28', '2015-12-19 15:26:28', 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-12-19 15:26:28', '2015-12-19 15:26:28', 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-12-19 15:26:28', '2015-12-19 15:26:28', 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-12-19 15:26:28', '2015-12-19 15:26:28', 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-12-19 15:26:28', '2015-12-19 15:26:28', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:26:28', '2015-12-19 15:26:28', 258259918) Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 412842077) Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 229906743) Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 40760454) 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-12-19 15:26:28', '2015-12-19 15:26:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:28', '2015-12-19 15:26:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374)  (49.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (102.8ms) DROP TABLE "extface_devices"  (84.7ms) 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)   (61.5ms) DROP TABLE "extface_drivers"  (56.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (83.8ms) 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(*)  (61.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (50.9ms) DROP TABLE "extface_serial_configs"  (53.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)   (56.3ms) 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-12-19 15:26:50', '2015-12-19 15:26: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-12-19 15:26:50', '2015-12-19 15:26:50', 298486374, 599072141) Fixture Delete (0.2ms) DELETE FROM "extface_devices" Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:26:50', '2015-12-19 15:26: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-12-19 15:26:50', '2015-12-19 15:26: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 ('datecs_fp550', 'Datect FP550', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:26:50', '2015-12-19 15:26:50', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 40760454) 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-12-19 15:26:50', '2015-12-19 15:26:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:50', '2015-12-19 15:26:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374)  (51.2ms) commit transaction  (0.1ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (91.6ms) 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.5ms) 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)   (59.3ms) DROP TABLE "extface_jobs"  (62.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (75.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.6ms) 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.9ms) DROP TABLE "shops"  (62.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (79.3ms) 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.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)   (56.3ms) 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.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.4ms) 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.9ms) 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.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-12-19 15:43:06', '2015-12-19 15:43:06', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:43:06', '2015-12-19 15:43:06', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 40760454) 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-12-19 15:43:06', '2015-12-19 15:43:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374)  (64.7ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (93.5ms) DROP TABLE "extface_devices"  (80.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime)   (64.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)   (64.8ms) 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(*)  (70.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (67.2ms) 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.8ms) DROP TABLE "shops"  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (101.0ms) DROP TABLE "extface_devices"  (65.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.5ms) DROP TABLE "extface_drivers"  (68.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (48.1ms) 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(*)  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.7ms) 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)   (72.7ms) DROP TABLE "shops"  (73.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.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-12-19 15:46:59', '2015-12-19 15:46:59', 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-12-19 15:46:59', '2015-12-19 15:46: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-12-19 15:46:59', '2015-12-19 15:46: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-12-19 15:46:59', '2015-12-19 15:46: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-12-19 15:46:59', '2015-12-19 15:46:59', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:46:59', '2015-12-19 15:46:59', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 40760454) 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-12-19 15:46:59', '2015-12-19 15:46:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:46:59', '2015-12-19 15:46:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374)  (76.0ms) commit transaction  (0.2ms) begin transaction ----------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_response_frame ----------------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (89.9ms) 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)   (65.0ms) 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.2ms) 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.3ms) select sqlite_version(*)  (63.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.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)   (72.8ms) 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-12-19 15:47:33', '2015-12-19 15:47:33', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:47:33', '2015-12-19 15:47:33', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 40760454) 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-12-19 15:47:33', '2015-12-19 15:47:33', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374)  (62.5ms) commit transaction  (0.2ms) begin transaction ----------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_response_frame ----------------------------------------------------- Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (98.7ms) DROP TABLE "extface_devices"  (65.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.9ms) DROP TABLE "extface_drivers"  (89.8ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (130.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.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.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)   (78.0ms) DROP TABLE "shops"  (85.1ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:49:20', '2015-12-19 15:49: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-12-19 15:49:20', '2015-12-19 15:49: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-12-19 15:49:20', '2015-12-19 15:49: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-12-19 15:49:20', '2015-12-19 15:49:20', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 40760454, 'Shop', 980190962, 40760454) 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-12-19 15:49:20', '2015-12-19 15:49:20', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 40760454) 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-12-19 15:49:20', '2015-12-19 15:49:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:49:20', '2015-12-19 15:49:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374)  (76.5ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (153.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)   (56.2ms) DROP TABLE "extface_drivers"  (57.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (59.4ms) DROP TABLE "extface_jobs"  (62.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (64.6ms) 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)   (81.1ms) 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.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-12-19 16:05:14', '2015-12-19 16:05:14', 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-12-19 16:05:14', '2015-12-19 16:05: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-12-19 16:05:14', '2015-12-19 16:05: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-12-19 16:05:14', '2015-12-19 16:05: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-12-19 16:05:14', '2015-12-19 16:05:14', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:05:14', '2015-12-19 16:05:14', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 40760454) 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-12-19 16:05:14', '2015-12-19 16:05:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:05:14', '2015-12-19 16:05:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374)  (56.1ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (83.6ms) DROP TABLE "extface_devices"  (65.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"  (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(*)  (72.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.3ms) 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.6ms) 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-12-19 16:11:25', '2015-12-19 16:11: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-12-19 16:11:25', '2015-12-19 16:11:25', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 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-12-19 16:11:25', '2015-12-19 16:11:25', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:11:25', '2015-12-19 16:11:25', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 40760454) 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-12-19 16:11:25', '2015-12-19 16:11:25', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374)  (76.4ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (95.4ms) 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.0ms) 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)   (64.4ms) 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(*)  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.4ms) DROP TABLE "extface_serial_configs"  (65.1ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (64.6ms) DROP TABLE "shops"  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 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-12-19 16:13:28', '2015-12-19 16:13:28', 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-12-19 16:13:28', '2015-12-19 16:13:28', 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-12-19 16:13:28', '2015-12-19 16:13:28', 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-12-19 16:13:28', '2015-12-19 16:13:28', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:13:28', '2015-12-19 16:13:28', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 40760454) 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-12-19 16:13:28', '2015-12-19 16:13:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:13:28', '2015-12-19 16:13:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374)  (59.0ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (104.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)   (64.6ms) DROP TABLE "extface_drivers"  (65.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.4ms) DROP TABLE "extface_jobs"  (73.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(*)  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.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.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-12-19 16:14:51', '2015-12-19 16:14:51', 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-12-19 16:14:51', '2015-12-19 16:14:51', 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-12-19 16:14:51', '2015-12-19 16:14:51', 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-12-19 16:14:51', '2015-12-19 16:14:51', 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-12-19 16:14:51', '2015-12-19 16:14:51', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:14:51', '2015-12-19 16:14:51', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 40760454) 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-12-19 16:14:51', '2015-12-19 16:14:51', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:14:51', '2015-12-19 16:14:51', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374)  (62.2ms) commit transaction  (0.2ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.3ms) 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (93.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)   (75.8ms) DROP TABLE "extface_drivers"  (54.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (50.8ms) DROP TABLE "extface_jobs"  (54.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.4ms) 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.6ms) DROP TABLE "shops"  (65.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.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-12-19 16:47:46', '2015-12-19 16:47:46', 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-12-19 16:47:46', '2015-12-19 16:47:46', 298486374, 599072141) Fixture Delete (0.2ms) DELETE FROM "extface_devices" Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 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-12-19 16:47:46', '2015-12-19 16:47:46', 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-12-19 16:47:46', '2015-12-19 16:47:46', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:47:46', '2015-12-19 16:47:46', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 40760454) 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-12-19 16:47:46', '2015-12-19 16:47:46', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:47:46', '2015-12-19 16:47:46', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374)  (58.8ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (128.9ms) DROP TABLE "extface_devices"  (53.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)   (67.5ms) DROP TABLE "extface_drivers"  (53.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (51.1ms) DROP TABLE "extface_jobs"  (62.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.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (58.3ms) DROP TABLE "extface_serial_configs"  (62.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (64.5ms) DROP TABLE "shops"  (65.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.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-12-19 16:51:19', '2015-12-19 16:51:19', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374, 599072141) Fixture Delete (0.2ms) DELETE FROM "extface_devices" Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:51:19', '2015-12-19 16:51:19', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 40760454) 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-12-19 16:51:19', '2015-12-19 16:51:19', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374)  (138.9ms) commit transaction  (0.2ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.3ms) 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", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (109.0ms) 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)   (64.6ms) 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.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(*)  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (48.0ms) 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.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.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-12-19 16:52:35', '2015-12-19 16:52:35', 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-12-19 16:52:35', '2015-12-19 16:52:35', 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-12-19 16:52:35', '2015-12-19 16:52:35', 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-12-19 16:52:35', '2015-12-19 16:52:35', 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-12-19 16:52:35', '2015-12-19 16:52:35', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:52:35', '2015-12-19 16:52:35', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 40760454) 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-12-19 16:52:35', '2015-12-19 16:52:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:52:35', '2015-12-19 16:52:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374)  (60.1ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (98.7ms) DROP TABLE "extface_devices"  (70.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)   (64.4ms) 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)   (59.7ms) 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.4ms) select sqlite_version(*)  (127.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (58.3ms) 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)   (72.9ms) 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-12-19 16:54:08', '2015-12-19 16:54:08', 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-12-19 16:54:08', '2015-12-19 16:54:08', 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-12-19 16:54:08', '2015-12-19 16:54:08', 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-12-19 16:54:08', '2015-12-19 16:54:08', 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-12-19 16:54:08', '2015-12-19 16:54:08', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:54:08', '2015-12-19 16:54:08', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 40760454) Fixture Delete (0.2ms) DELETE FROM "extface_jobs" Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374)  (48.6ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (97.5ms) 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)   (65.0ms) DROP TABLE "extface_drivers"  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (59.2ms) DROP TABLE "extface_jobs"  (62.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (75.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.3ms) DROP TABLE "extface_serial_configs"  (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)   (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-12-19 16:57:12', '2015-12-19 16:57:12', 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-12-19 16:57:12', '2015-12-19 16:57:12', 298486374, 599072141) Fixture Delete (0.2ms) DELETE FROM "extface_devices" Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 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-12-19 16:57:12', '2015-12-19 16:57:12', 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-12-19 16:57:12', '2015-12-19 16:57:12', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:57:12', '2015-12-19 16:57:12', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 40760454) 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-12-19 16:57:12', '2015-12-19 16:57:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:57:12', '2015-12-19 16:57:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374)  (51.0ms) commit transaction  (0.2ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (110.3ms) 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"  (73.7ms) 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"  (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.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.5ms) 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)   (64.7ms) 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.2ms) begin transaction Fixture Delete (0.3ms) 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-12-19 16:58:07', '2015-12-19 16:58:07', 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-12-19 16:58:07', '2015-12-19 16:58:07', 298486374, 599072141) Fixture Delete (0.2ms) DELETE FROM "extface_devices" Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 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-12-19 16:58:07', '2015-12-19 16:58:07', 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-12-19 16:58:07', '2015-12-19 16:58:07', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:58:07', '2015-12-19 16:58:07', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 40760454) 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-12-19 16:58:07', '2015-12-19 16:58:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:07', '2015-12-19 16:58:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374)  (59.4ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (100.5ms) DROP TABLE "extface_devices"  (73.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime)   (72.8ms) DROP TABLE "extface_drivers"  (73.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.5ms) 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(*)  (73.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.4ms) DROP TABLE "extface_serial_configs"  (81.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.9ms) 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-12-19 16:58:35', '2015-12-19 16:58:35', 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-12-19 16:58:35', '2015-12-19 16:58:35', 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-12-19 16:58:35', '2015-12-19 16:58:35', 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-12-19 16:58:35', '2015-12-19 16:58:35', 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-12-19 16:58:35', '2015-12-19 16:58:35', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 40760454, 'Shop', 980190962, 40760454) 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-12-19 16:58:35', '2015-12-19 16:58:35', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 40760454) 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-12-19 16:58:35', '2015-12-19 16:58:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:35', '2015-12-19 16:58:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374)  (60.1ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (71.2ms) 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.0ms) 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)   (51.0ms) DROP TABLE "extface_jobs"  (54.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(*)  (56.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.2ms) 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)   (64.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-12-19 17:01:07', '2015-12-19 17:01: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-12-19 17:01:07', '2015-12-19 17:01: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-12-19 17:01:07', '2015-12-19 17:01: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-12-19 17:01:07', '2015-12-19 17:01: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 ('datecs_fp550', 'Datect FP550', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:01:07', '2015-12-19 17:01:07', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 40760454) 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-12-19 17:01:07', '2015-12-19 17:01:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:01:07', '2015-12-19 17:01:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374)  (62.2ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (64.6ms) 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)   (61.5ms) DROP TABLE "extface_drivers"  (60.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (56.7ms) DROP TABLE "extface_jobs"  (65.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(*)  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.3ms) 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)   (64.7ms) 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.2ms) begin transaction Fixture Delete (0.3ms) 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-12-19 17:02:41', '2015-12-19 17:02: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-12-19 17:02:41', '2015-12-19 17:02:41', 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-12-19 17:02:41', '2015-12-19 17:02: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-12-19 17:02:41', '2015-12-19 17:02:41', 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-12-19 17:02:41', '2015-12-19 17:02:41', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:02:41', '2015-12-19 17:02:41', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 40760454) 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-12-19 17:02:41', '2015-12-19 17:02:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:02:41', '2015-12-19 17:02:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374)  (56.8ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (99.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.5ms) 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)   (48.1ms) 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(*)  (78.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.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)   (72.9ms) DROP TABLE "shops"  (62.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-12-19 17:04:16', '2015-12-19 17:04:16', 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-12-19 17:04:16', '2015-12-19 17:04: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-12-19 17:04:16', '2015-12-19 17:04: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-12-19 17:04:16', '2015-12-19 17:04: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 ('datecs_fp550', 'Datect FP550', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:04:16', '2015-12-19 17:04:16', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 40760454) 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-12-19 17:04:16', '2015-12-19 17:04:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:04:16', '2015-12-19 17:04:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374)  (66.6ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (97.2ms) DROP TABLE "extface_devices"  (65.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.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)   (50.7ms) DROP TABLE "extface_jobs"  (54.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(*)  (56.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.0ms) DROP TABLE "extface_serial_configs"  (65.1ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (64.5ms) DROP TABLE "shops"  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:05:54', '2015-12-19 17:05:54', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 40760454) 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-12-19 17:05:54', '2015-12-19 17:05:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374)  (53.5ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.3ms) 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", 40760454]] 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", 40760454]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (152.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.3ms) 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)   (56.1ms) 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(*)  (64.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.0ms) DROP TABLE "extface_serial_configs"  (70.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (64.5ms) DROP TABLE "shops"  (57.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.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-12-19 17:10:19', '2015-12-19 17:10:19', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:10:19', '2015-12-19 17:10:19', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 40760454) 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-12-19 17:10:19', '2015-12-19 17:10:19', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374)  (53.9ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (92.5ms) DROP TABLE "extface_devices"  (65.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)   (64.5ms) 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)   (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.3ms) select sqlite_version(*)  (61.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.3ms) DROP TABLE "extface_serial_configs"  (54.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)   (57.2ms) DROP TABLE "shops"  (57.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:12:30', '2015-12-19 17:12: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-12-19 17:12:30', '2015-12-19 17:12: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-12-19 17:12:30', '2015-12-19 17:12: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-12-19 17:12:30', '2015-12-19 17:12: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 ('datecs_fp550', 'Datect FP550', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:12:30', '2015-12-19 17:12:30', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 40760454) 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-12-19 17:12:30', '2015-12-19 17:12:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:12:30', '2015-12-19 17:12:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374)  (54.9ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (110.9ms) 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.9ms) DROP TABLE "extface_drivers"  (73.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.9ms) DROP TABLE "extface_jobs"  (73.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.3ms) select sqlite_version(*)  (72.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (65.0ms) 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)   (64.9ms) DROP TABLE "shops"  (65.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-12-19 17:14:43', '2015-12-19 17:14: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-12-19 17:14:43', '2015-12-19 17:14: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-12-19 17:14:43', '2015-12-19 17:14: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-12-19 17:14:43', '2015-12-19 17:14: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 ('datecs_fp550', 'Datect FP550', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:14:43', '2015-12-19 17:14:43', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 40760454) 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-12-19 17:14:43', '2015-12-19 17:14:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:14:43', '2015-12-19 17:14:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374)  (57.8ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (89.9ms) DROP TABLE "extface_devices"  (60.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)   (62.4ms) 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)   (59.6ms) DROP TABLE "extface_jobs"  (54.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(*)  (56.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.4ms) DROP TABLE "extface_serial_configs"  (54.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)   (56.8ms) DROP TABLE "shops"  (68.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:15:53', '2015-12-19 17:15:53', 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-12-19 17:15:53', '2015-12-19 17:15:53', 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-12-19 17:15:54', '2015-12-19 17:15:54', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:15:54', '2015-12-19 17:15:54', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 599072141) Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 40760454) 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-12-19 17:15:54', '2015-12-19 17:15:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:15:54', '2015-12-19 17:15:54', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:15:54', '2015-12-19 17:15:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:15:54', '2015-12-19 17:15:54', 298486374)  (52.3ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] Extface::Job Load (0.0ms) 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (131.5ms) DROP TABLE "extface_devices"  (65.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.6ms) 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.7ms) DROP TABLE "extface_jobs"  (62.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.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.3ms) 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)   (69.7ms) DROP TABLE "shops"  (65.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.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-12-19 17:18:40', '2015-12-19 17:18: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-12-19 17:18:40', '2015-12-19 17:18: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-12-19 17:18:40', '2015-12-19 17:18: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-12-19 17:18:40', '2015-12-19 17:18:40', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:18:40', '2015-12-19 17:18:40', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 40760454) 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-12-19 17:18:40', '2015-12-19 17:18:40', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:18:40', '2015-12-19 17:18:40', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374)  (49.6ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (72.3ms) DROP TABLE "extface_devices"  (67.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)   (69.9ms) DROP TABLE "extface_drivers"  (57.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (51.0ms) 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.3ms) select sqlite_version(*)  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (56.4ms) DROP TABLE "extface_serial_configs"  (147.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.5ms) 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-12-19 17:20:41', '2015-12-19 17:20:41', 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-12-19 17:20:41', '2015-12-19 17:20:41', 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-12-19 17:20:41', '2015-12-19 17:20: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-12-19 17:20:41', '2015-12-19 17:20: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-12-19 17:20:41', '2015-12-19 17:20:41', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:20:41', '2015-12-19 17:20:41', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 40760454) 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-12-19 17:20:41', '2015-12-19 17:20:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:20:41', '2015-12-19 17:20:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374)  (50.4ms) commit transaction  (0.2ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.3ms) 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", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (105.5ms) 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)   (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)   (56.3ms) 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")  (56.3ms) 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.5ms) DROP TABLE "shops"  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 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-12-19 17:22:58', '2015-12-19 17:22:58', 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-12-19 17:22:58', '2015-12-19 17:22: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-12-19 17:22:58', '2015-12-19 17:22: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-12-19 17:22:58', '2015-12-19 17:22:58', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:22:58', '2015-12-19 17:22:58', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 40760454) 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-12-19 17:22:58', '2015-12-19 17:22:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:22:58', '2015-12-19 17:22:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374)  (54.9ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (106.3ms) DROP TABLE "extface_devices"  (78.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)   (64.5ms) 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)   (59.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.1ms) select sqlite_version(*)  (65.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.5ms) 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)   (56.7ms) DROP TABLE "shops"  (57.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.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-12-19 17:32:47', '2015-12-19 17:32:47', 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-12-19 17:32:47', '2015-12-19 17:32:47', 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-12-19 17:32:47', '2015-12-19 17:32:47', 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-12-19 17:32:47', '2015-12-19 17:32:47', 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-12-19 17:32:47', '2015-12-19 17:32:47', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:32:47', '2015-12-19 17:32:47', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 40760454) 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-12-19 17:32:47', '2015-12-19 17:32:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:32:47', '2015-12-19 17:32:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374)  (52.8ms) commit transaction  (0.2ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (75.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)   (72.8ms) DROP TABLE "extface_drivers"  (100.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (62.6ms) 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.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (65.0ms) 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-12-19 17:38:57', '2015-12-19 17:38: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-12-19 17:38:57', '2015-12-19 17:38: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-12-19 17:38:57', '2015-12-19 17:38: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-12-19 17:38:57', '2015-12-19 17:38: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-12-19 17:38:57', '2015-12-19 17:38:57', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:38:57', '2015-12-19 17:38:57', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 40760454) 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-12-19 17:38:57', '2015-12-19 17:38:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:38:57', '2015-12-19 17:38:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374)  (58.6ms) commit transaction  (0.2ms) begin transaction --------------------------------------------------------- Extface::DevicesControllerTest: test_should_create_device --------------------------------------------------------- Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#create as HTML Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Extface::Device Exists (0.2ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 SQL (0.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:38:58.170020"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:38:58.170020"]] SQL (0.2ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:38:58.179224"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "1c8fc7750e8398a939e15fe03ed0024e"], ["updated_at", "2015-12-19 17:38:58.179224"], ["uuid", "1c8fc7750e8398a939e15fe03ed0024e"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963 Completed 302 Found in 54ms (ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------- Extface::DevicesControllerTest: test_should_destroy_device ---------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#destroy as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------- Extface::DevicesControllerTest: test_should_get_edit ---------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#edit as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.7ms) Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.6ms) Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (4.5ms) Completed 200 OK in 193ms (Views: 190.5ms | ActiveRecord: 1.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::DevicesControllerTest: test_should_get_index ----------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#index as HTML Parameters: {"shop_id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Completed 200 OK in 48ms (Views: 43.0ms | ActiveRecord: 3.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------- Extface::DevicesControllerTest: test_should_get_new --------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#new as HTML Parameters: {"shop_id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------- Extface::DevicesControllerTest: test_should_show_device ------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#show as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]  (0.2ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (2.4ms) Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]] Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 1.8ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------- Extface::DevicesControllerTest: test_should_update_device --------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#update as HTML Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]  (0.0ms) SAVEPOINT active_record_1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:38:58.499082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962 Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------- ExtfaceTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_response_frame ----------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------- Extface::JobsControllerTest: test_should_show_job ------------------------------------------------- Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::JobsController#show as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_build_packet ----------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] Completed 200 OK in 10005ms (ActiveRecord: 1.4ms) Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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.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.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"  (86.3ms) 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.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)   (59.2ms) DROP TABLE "extface_jobs"  (78.8ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.3ms) DROP TABLE "extface_serial_configs"  (79.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (64.5ms) DROP TABLE "shops"  (57.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:45:25', '2015-12-19 17:45: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-12-19 17:45:25', '2015-12-19 17:45: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-12-19 17:45:25', '2015-12-19 17:45: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-12-19 17:45:25', '2015-12-19 17:45: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-12-19 17:45:25', '2015-12-19 17:45:25', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:45:25', '2015-12-19 17:45:25', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 40760454) 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-12-19 17:45:25', '2015-12-19 17:45:25', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:45:25', '2015-12-19 17:45:25', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374)  (47.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.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.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) 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.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------- Extface::DevicesControllerTest: test_should_create_device --------------------------------------------------------- Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#create as HTML Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}} Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Extface::Device Exists (0.2ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 SQL (29.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:45:43.189865"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:45:43.189865"]] SQL (0.2ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:45:43.227503"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "3aa020b56b7a4a19f6834911ae81097e"], ["updated_at", "2015-12-19 17:45:43.227503"], ["uuid", "3aa020b56b7a4a19f6834911ae81097e"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963 Completed 302 Found in 57ms (ActiveRecord: 30.3ms)  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------- Extface::DevicesControllerTest: test_should_destroy_device ---------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#destroy as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices Completed 302 Found in 4ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- Extface::DevicesControllerTest: test_should_get_edit ---------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#edit as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.9ms) Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms) Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.4ms) Completed 200 OK in 44ms (Views: 41.5ms | ActiveRecord: 1.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::DevicesControllerTest: test_should_get_index ----------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#index as HTML Parameters: {"shop_id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Completed 200 OK in 29ms (Views: 25.1ms | ActiveRecord: 2.6ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------- Extface::DevicesControllerTest: test_should_get_new --------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#new as HTML Parameters: {"shop_id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------- Extface::DevicesControllerTest: test_should_show_device ------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#show as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.6ms) Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]] Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 1.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------- Extface::DevicesControllerTest: test_should_update_device --------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#update as HTML Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]  (0.1ms) SAVEPOINT active_record_1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:45:43.368326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962 Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.0ms) 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_response_frame ----------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- Extface::JobsControllerTest: test_should_show_job ------------------------------------------------- Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::JobsController#show as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------- ExtfaceTest: test_truth -----------------------  (0.1ms) rollback transaction Completed in 8ms ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (72.7ms) DROP TABLE "extface_devices"  (73.7ms) 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.5ms) 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"  (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.5ms) 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)   (73.1ms) DROP TABLE "shops"  (70.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.1ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 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-12-19 17:47:16', '2015-12-19 17:47: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-12-19 17:47:16', '2015-12-19 17:47: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-12-19 17:47:16', '2015-12-19 17:47: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 ('datecs_fp550', 'Datect FP550', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:47:16', '2015-12-19 17:47:16', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 40760454) 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-12-19 17:47:16', '2015-12-19 17:47:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:47:16', '2015-12-19 17:47:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374)  (58.9ms) commit transaction  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_response_frame ----------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- Extface::JobsControllerTest: test_should_show_job ------------------------------------------------- Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::JobsController#show as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------- ExtfaceTest: test_truth -----------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------- Extface::DevicesControllerTest: test_should_create_device --------------------------------------------------------- Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#create as HTML Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 SQL (0.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:47:18.787982"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:47:18.787982"]] SQL (0.1ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:47:18.821455"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "be08489a9bace10633284cbcaa2db3ea"], ["updated_at", "2015-12-19 17:47:18.821455"], ["uuid", "be08489a9bace10633284cbcaa2db3ea"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963 Completed 302 Found in 49ms (ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------- Extface::DevicesControllerTest: test_should_destroy_device ---------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#destroy as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- Extface::DevicesControllerTest: test_should_get_edit ---------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#edit as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.5ms) Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms) Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.1ms) Completed 200 OK in 38ms (Views: 36.5ms | ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------- Extface::DevicesControllerTest: test_should_get_index ----------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#index as HTML Parameters: {"shop_id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Completed 200 OK in 29ms (Views: 24.3ms | ActiveRecord: 2.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------- Extface::DevicesControllerTest: test_should_get_new --------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#new as HTML Parameters: {"shop_id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------- Extface::DevicesControllerTest: test_should_show_device ------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#show as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]  (0.2ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]  (0.2ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.6ms) Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]] Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 1.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------- Extface::DevicesControllerTest: test_should_update_device --------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#update as HTML Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]  (0.0ms) SAVEPOINT active_record_1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:47:18.953356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962 Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_build_packet ----------------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.0ms) 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]] 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 Completed in 2247ms ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (64.1ms) 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)   (53.2ms) DROP TABLE "extface_drivers"  (57.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (51.0ms) DROP TABLE "extface_jobs"  (54.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(*)  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (51.2ms) 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)   (61.6ms) 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.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-12-19 17:56:06', '2015-12-19 17:56:06', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374, 599072141) Fixture Delete (0.1ms) DELETE FROM "extface_devices" Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962, 'Shop', 980190962, 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374, 'Shop', 980190962, 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 40760454, 'Shop', 980190962, 40760454) 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-12-19 17:56:06', '2015-12-19 17:56:06', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 40760454) 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-12-19 17:56:06', '2015-12-19 17:56:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374)  (72.0ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_build_packet ----------------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_fsend ---------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]] Extface::Job Load (0.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]] 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.2ms) begin transaction ----------------------------------------------- Extface::Driver::Datecs::Fp550Test: test_handle ----------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]  (0.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  (0.1ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.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", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_response_frame ----------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------- Extface::JobsControllerTest: test_should_show_job ------------------------------------------------- Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::JobsController#show as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------- ExtfaceTest: test_truth -----------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------- Extface::DevicesControllerTest: test_should_create_device --------------------------------------------------------- Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#create as HTML Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Extface::Device Exists (0.2ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 SQL (0.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:56:10.633292"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:56:10.633292"]] SQL (0.1ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:56:10.640237"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "f54da54ab07e409a94591a961409b559"], ["updated_at", "2015-12-19 17:56:10.640237"], ["uuid", "f54da54ab07e409a94591a961409b559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963 Completed 302 Found in 22ms (ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------- Extface::DevicesControllerTest: test_should_destroy_device ---------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#destroy as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "extface_devices" Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- Extface::DevicesControllerTest: test_should_get_edit ---------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#edit as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.5ms) Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms) Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.3ms) Completed 200 OK in 41ms (Views: 39.0ms | ActiveRecord: 0.9ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::DevicesControllerTest: test_should_get_index ----------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#index as HTML Parameters: {"shop_id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Completed 200 OK in 26ms (Views: 22.0ms | ActiveRecord: 2.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------- Extface::DevicesControllerTest: test_should_get_new --------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#new as HTML Parameters: {"shop_id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------- Extface::DevicesControllerTest: test_should_show_device ------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#show as HTML Parameters: {"shop_id"=>"980190962", "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]  (0.2ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.6ms) Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]] Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 1.6ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------- Extface::DevicesControllerTest: test_should_update_device --------------------------------------------------------- Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]] Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Processing by Extface::DevicesController#update as HTML Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"} Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1 Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]  (0.0ms) SAVEPOINT active_record_1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1 SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:56:10.771046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962 Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1 Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1  (0.1ms) rollback transaction Completed in 205ms ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (108.0ms) DROP TABLE "extface_devices"  (65.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)   (72.8ms) DROP TABLE "extface_drivers"  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (64.4ms) 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(*)  (91.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (89.3ms) 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)   (64.5ms) 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" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (112.4ms) 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)   (72.4ms) 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)   (64.5ms) DROP TABLE "extface_jobs"  (62.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (75.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (64.9ms) DROP TABLE "extface_serial_configs"  (65.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)   (64.7ms) DROP TABLE "shops"  (57.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-12-20 15:02:45', '2015-12-20 15:02: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-12-20 15:02:45', '2015-12-20 15:02: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-12-20 15:02:45', '2015-12-20 15:02: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-12-20 15:02:45', '2015-12-20 15:02: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 ('datecs_fp550', 'Datect FP550', '2015-12-20 15:02:45', '2015-12-20 15:02:45', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 15:02:45', '2015-12-20 15:02:45', 40760454, 'Shop', 980190962, 40760454) 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-12-20 15:02:45', '2015-12-20 15:02:45', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 15:02:45', '2015-12-20 15:02:45', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 15:02:45', '2015-12-20 15:02:45', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 15:02:45', '2015-12-20 15:02:45', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 15:02:45', '2015-12-20 15:02:45', 40760454) 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-12-20 15:02:45', '2015-12-20 15:02:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 15:02:45', '2015-12-20 15:02:45', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 15:02:45', '2015-12-20 15:02:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 15:02:45', '2015-12-20 15:02:45', 298486374)  (65.0ms) commit transaction  (0.2ms) begin transaction -------------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_sequence_mismatch -------------------------------------------------------- Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.4ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.3ms) 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (91.9ms) DROP TABLE "extface_devices"  (68.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.6ms) DROP TABLE "extface_drivers"  (62.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (59.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(*)  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.3ms) DROP TABLE "extface_serial_configs"  (62.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime)   (57.0ms) 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-12-20 15:03:56', '2015-12-20 15:03: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-12-20 15:03:56', '2015-12-20 15:03:56', 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-12-20 15:03:56', '2015-12-20 15:03: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-12-20 15:03:56', '2015-12-20 15:03: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 ('datecs_fp550', 'Datect FP550', '2015-12-20 15:03:56', '2015-12-20 15:03:56', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 15:03:56', '2015-12-20 15:03:56', 40760454, 'Shop', 980190962, 40760454) 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-12-20 15:03:56', '2015-12-20 15:03:56', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 15:03:56', '2015-12-20 15:03:56', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 15:03:56', '2015-12-20 15:03:56', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 15:03:56', '2015-12-20 15:03:56', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 15:03:56', '2015-12-20 15:03:56', 40760454) 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-12-20 15:03:56', '2015-12-20 15:03:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 15:03:56', '2015-12-20 15:03:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 15:03:56', '2015-12-20 15:03:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 15:03:56', '2015-12-20 15:03:56', 298486374)  (50.1ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_sequence_mismatch -------------------------------------------------------- Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (143.8ms) 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.5ms) DROP TABLE "extface_drivers"  (56.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)   (50.9ms) DROP TABLE "extface_jobs"  (54.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime)   (0.2ms) select sqlite_version(*)  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")  (59.2ms) 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)   (64.7ms) DROP TABLE "shops"  (65.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) SELECT version FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs" Fixture Insert (0.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-12-20 15:06:43', '2015-12-20 15:06: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-12-20 15:06:43', '2015-12-20 15:06: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-12-20 15:06:43', '2015-12-20 15:06: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-12-20 15:06:43', '2015-12-20 15:06: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 ('datecs_fp550', 'Datect FP550', '2015-12-20 15:06:43', '2015-12-20 15:06:43', 229906743, 'Shop', 980190962, 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-20 15:06:43', '2015-12-20 15:06:43', 40760454, 'Shop', 980190962, 40760454) 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-12-20 15:06:43', '2015-12-20 15:06:43', 258259918) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-20 15:06:43', '2015-12-20 15:06:43', 412842077) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-20 15:06:43', '2015-12-20 15:06:43', 599072141) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-20 15:06:43', '2015-12-20 15:06:43', 229906743) Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-20 15:06:43', '2015-12-20 15:06:43', 40760454) 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-12-20 15:06:43', '2015-12-20 15:06:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-20 15:06:43', '2015-12-20 15:06:43', 298486374) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 15:06:43', '2015-12-20 15:06:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-20 15:06:43', '2015-12-20 15:06:43', 298486374)  (72.0ms) commit transaction  (0.2ms) begin transaction -------------------------------------------- Extface::Driver::DaisyFx1200Test: test_fsend -------------------------------------------- Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.3ms) 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", 40760454]] 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", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------- Extface::Driver::DaisyFx1200Test: test_handle --------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_response_frame ----------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------- Extface::Driver::DaisyFx1200Test: test_sequence_mismatch -------------------------------------------------------- Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]] Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]] Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]] Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]] 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", 40760454]]  (0.2ms) rollback transaction