test/dummy/log/test.log in extface-0.5.6 vs test/dummy/log/test.log in extface-0.5.7
- old
+ new
@@ -11581,5 +11581,3457 @@
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
[1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
[1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (71.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (105.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (85.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (72.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (72.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160828052036')[0m
+ [1m[35m (65.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160103154233')
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (83.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (73.0ms)[0m CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
+ [1m[36m (56.6ms)[0m [1mDROP TABLE "extface_serial_configs"[0m
+ [1m[35m (65.3ms)[0m 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)
+ [1m[36m (56.5ms)[0m [1mDROP TABLE "shops"[0m
+ [1m[35m (65.5ms)[0m CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_serial_configs"[0m
+ [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-30 23:50:33', '2016-08-30 23:50:33', 980190962, 258259918)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-30 23:50:33', '2016-08-30 23:50:33', 298486374, 599072141)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_devices"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-30 23:50:33', '2016-08-30 23:50:33', 980190962, 'Shop', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-30 23:50:33', '2016-08-30 23:50:33', 298486374, 'Shop', 980190962, 599072141)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-30 23:50:33', '2016-08-30 23:50:33', 229906743, 'Shop', 980190962, 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-30 23:50:33', '2016-08-30 23:50:33', 40760454, 'Shop', 980190962, 40760454)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-30 23:50:33', '2016-08-30 23:50:33', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-30 23:50:33', '2016-08-30 23:50:33', 412842077)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-30 23:50:33', '2016-08-30 23:50:33', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-30 23:50:33', '2016-08-30 23:50:33', 229906743)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-30 23:50:33', '2016-08-30 23:50:33', 40760454)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_jobs"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-30 23:50:33', '2016-08-30 23:50:33', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-30 23:50:33', '2016-08-30 23:50:33', 298486374)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "shops"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-30 23:50:33', '2016-08-30 23:50:33', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-30 23:50:33', '2016-08-30 23:50:33', 298486374)
+ [1m[36m (105.3ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------
+ExtfaceTest: test_truth
+-----------------------
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------------------
+Extface::DevicesControllerTest: test_should_create_device
+---------------------------------------------------------
+ [1m[36mExtface::Device Load (0.4ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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"}}
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mExtface::Device Exists (0.2ms)[0m [1mSELECT 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[0m
+ [1m[35mExtface::Device Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-08-30 23:50:34.028694"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2016-08-30 23:50:34.028694"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2016-08-30 23:50:34.039841"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "6ea5e5cddaa2bdfd7e51db3535a8e559"], ["updated_at", "2016-08-30 23:50:34.039841"], ["uuid", "6ea5e5cddaa2bdfd7e51db3535a8e559"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963
+Completed 302 Found in 82ms (ActiveRecord: 1.4ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------------------
+Extface::DevicesControllerTest: test_should_destroy_device
+----------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Processing by Extface::DevicesController#destroy as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
+ [1m[35mExtface::Device Load (0.1ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Redirected to http://test.host/shops/298486374/shop_extface/devices
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_edit
+----------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#edit as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35mShop Load (15.6ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.3ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (1.5ms)
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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.3ms)
+Completed 200 OK in 258ms (Views: 239.3ms | ActiveRecord: 17.3ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_index
+-----------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#index as HTML
+ Parameters: {"shop_id"=>"980190962"}
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ?[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Completed 200 OK in 42ms (Views: 35.3ms | ActiveRecord: 3.8ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+---------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_new
+---------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#new as HTML
+ Parameters: {"shop_id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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 12ms (Views: 9.7ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+-------------------------------------------------------
+Extface::DevicesControllerTest: test_should_show_device
+-------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#show as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL)[0m [["device_id", 980190962]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL)[0m [["device_id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.8ms)
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mExtface::Job Load (0.1ms)[0m 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 23ms (Views: 20.3ms | ActiveRecord: 1.7ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+---------------------------------------------------------
+Extface::DevicesControllerTest: test_should_update_device
+---------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#update as HTML
+ Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mExtface::Device Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962[0m [["name", "new_name"], ["updated_at", "2016-08-30 23:50:34.422064"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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)
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------
+Extface::JobsControllerTest: test_should_show_job
+-------------------------------------------------
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Processing by Extface::JobsController#show as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.0ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_status
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_fsend
+--------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_handle
+---------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_response_frame
+-----------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+Completed 200 OK in 10003ms (ActiveRecord: 5.3ms)
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (88.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (53.9ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.2ms)[0m DROP TABLE "shops"
+ [1m[36m (54.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:03:00', '2016-08-31 00:03:00', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:03:00', '2016-08-31 00:03:00', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:03:00', '2016-08-31 00:03:00', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:03:00', '2016-08-31 00:03:00', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:03:00', '2016-08-31 00:03:00', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:03:00', '2016-08-31 00:03:00', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:03:00', '2016-08-31 00:03:00', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:03:00', '2016-08-31 00:03:00', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:03:00', '2016-08-31 00:03:00', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:03:00', '2016-08-31 00:03:00', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:03:00', '2016-08-31 00:03:00', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:03:00', '2016-08-31 00:03:00', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:03:00', '2016-08-31 00:03:00', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:03:00', '2016-08-31 00:03:00', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:03:00', '2016-08-31 00:03:00', 298486374)[0m
+ [1m[35m (56.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_status
+-----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (134.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (116.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (62.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (50.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (54.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (108.9ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (105.9ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (106.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (97.2ms)[0m DROP TABLE "shops"
+ [1m[36m (123.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:03:49', '2016-08-31 00:03:49', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:03:49', '2016-08-31 00:03:49', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:03:49', '2016-08-31 00:03:49', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:03:49', '2016-08-31 00:03:49', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:03:49', '2016-08-31 00:03:49', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:03:49', '2016-08-31 00:03:49', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:03:49', '2016-08-31 00:03:49', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:03:49', '2016-08-31 00:03:49', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:03:49', '2016-08-31 00:03:49', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:03:49', '2016-08-31 00:03:49', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:03:49', '2016-08-31 00:03:49', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:03:49', '2016-08-31 00:03:49', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:03:49', '2016-08-31 00:03:49', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:03:49', '2016-08-31 00:03:49', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:03:49', '2016-08-31 00:03:49', 298486374)[0m
+ [1m[35m (62.1ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (245.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.1ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (54.0ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (56.3ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (54.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (100.3ms)[0m DROP TABLE "shops"
+ [1m[36m (98.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:04:28', '2016-08-31 00:04:28', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:04:28', '2016-08-31 00:04:28', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:04:28', '2016-08-31 00:04:28', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:04:28', '2016-08-31 00:04:28', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:04:28', '2016-08-31 00:04:28', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:04:28', '2016-08-31 00:04:28', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:04:28', '2016-08-31 00:04:28', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:04:28', '2016-08-31 00:04:28', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:04:28', '2016-08-31 00:04:28', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:04:28', '2016-08-31 00:04:28', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:04:28', '2016-08-31 00:04:28', 40760454)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:04:28', '2016-08-31 00:04:28', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:04:28', '2016-08-31 00:04:28', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:04:28', '2016-08-31 00:04:28', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:04:28', '2016-08-31 00:04:28', 298486374)[0m
+ [1m[35m (96.4ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (83.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (81.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (80.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (72.9ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (81.7ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:05:31', '2016-08-31 00:05:31', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:05:31', '2016-08-31 00:05:31', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_drivers"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 412842077)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:05:31', '2016-08-31 00:05:31', 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_jobs"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:05:31', '2016-08-31 00:05:31', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:05:31', '2016-08-31 00:05:31', 298486374)[0m
+ [1m[35mFixture Delete (0.0ms)[0m DELETE FROM "shops"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:05:31', '2016-08-31 00:05:31', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:05:31', '2016-08-31 00:05:31', 298486374)
+ [1m[36m (101.9ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.3ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (197.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (64.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.8ms)[0m DROP TABLE "shops"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:06:35', '2016-08-31 00:06:35', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:06:35', '2016-08-31 00:06:35', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:06:35', '2016-08-31 00:06:35', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:06:35', '2016-08-31 00:06:35', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:06:35', '2016-08-31 00:06:35', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:06:35', '2016-08-31 00:06:35', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:06:35', '2016-08-31 00:06:35', 298486374)[0m
+ [1m[35m (62.5ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (82.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:06:56', '2016-08-31 00:06:56', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:06:56', '2016-08-31 00:06:56', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:06:56', '2016-08-31 00:06:56', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:06:56', '2016-08-31 00:06:56', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:06:56', '2016-08-31 00:06:56', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:06:56', '2016-08-31 00:06:56', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:06:56', '2016-08-31 00:06:56', 298486374)[0m
+ [1m[35m (55.6ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (97.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:07:28', '2016-08-31 00:07:28', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:07:28', '2016-08-31 00:07:28', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:07:28', '2016-08-31 00:07:28', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:07:28', '2016-08-31 00:07:28', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:07:28', '2016-08-31 00:07:28', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:07:28', '2016-08-31 00:07:28', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:07:28', '2016-08-31 00:07:28', 298486374)[0m
+ [1m[35m (53.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (98.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:10:05', '2016-08-31 00:10:05', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:10:05', '2016-08-31 00:10:05', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 599072141)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:10:05', '2016-08-31 00:10:05', 1033518405)[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:10:05', '2016-08-31 00:10:05', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:10:05', '2016-08-31 00:10:05', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:10:05', '2016-08-31 00:10:05', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:10:05', '2016-08-31 00:10:05', 298486374)[0m
+ [1m[35m (51.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_staus
+-------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (87.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (105.9ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:10:43', '2016-08-31 00:10:43', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:10:43', '2016-08-31 00:10:43', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:10:43', '2016-08-31 00:10:43', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:10:43', '2016-08-31 00:10:43', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:10:43', '2016-08-31 00:10:43', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:10:43', '2016-08-31 00:10:43', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:10:43', '2016-08-31 00:10:43', 298486374)[0m
+ [1m[35m (66.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_staus
+-------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (157.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:12:21', '2016-08-31 00:12:21', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:12:21', '2016-08-31 00:12:21', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:12:21', '2016-08-31 00:12:21', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:12:21', '2016-08-31 00:12:21', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:12:21', '2016-08-31 00:12:21', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:12:21', '2016-08-31 00:12:21', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:12:21', '2016-08-31 00:12:21', 298486374)[0m
+ [1m[35m (56.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_staus
+-------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (56.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (100.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.5ms)[0m DROP TABLE "shops"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:12:47', '2016-08-31 00:12:47', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:12:47', '2016-08-31 00:12:47', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:12:47', '2016-08-31 00:12:47', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:12:47', '2016-08-31 00:12:47', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:12:47', '2016-08-31 00:12:47', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:12:47', '2016-08-31 00:12:47', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:12:47', '2016-08-31 00:12:47', 298486374)[0m
+ [1m[35m (52.1ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_staus
+-------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (136.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (67.7ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "shops"
+ [1m[36m (70.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:13:03', '2016-08-31 00:13:03', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:13:03', '2016-08-31 00:13:03', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:13:03', '2016-08-31 00:13:03', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:13:03', '2016-08-31 00:13:03', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:13:03', '2016-08-31 00:13:03', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:13:03', '2016-08-31 00:13:03', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:13:03', '2016-08-31 00:13:03', 298486374)[0m
+ [1m[35m (55.2ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_staus
+-------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (69.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (58.9ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.5ms)[0m DROP TABLE "shops"
+ [1m[36m (114.9ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:13:44', '2016-08-31 00:13:44', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:13:44', '2016-08-31 00:13:44', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:13:44', '2016-08-31 00:13:44', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:13:44', '2016-08-31 00:13:44', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:13:44', '2016-08-31 00:13:44', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:13:44', '2016-08-31 00:13:44', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:13:44', '2016-08-31 00:13:44', 298486374)[0m
+ [1m[35m (69.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_staus
+-------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (135.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.5ms)[0m DROP TABLE "shops"
+ [1m[36m (114.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:14:16', '2016-08-31 00:14:16', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:14:16', '2016-08-31 00:14:16', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:14:16', '2016-08-31 00:14:16', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:14:16', '2016-08-31 00:14:16', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:14:16', '2016-08-31 00:14:16', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:14:16', '2016-08-31 00:14:16', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:14:16', '2016-08-31 00:14:16', 298486374)[0m
+ [1m[35m (107.6ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_staus
+-------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (83.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.5ms)[0m DROP TABLE "shops"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:15:06', '2016-08-31 00:15:06', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:15:06', '2016-08-31 00:15:06', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:15:06', '2016-08-31 00:15:06', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:15:06', '2016-08-31 00:15:06', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:15:06', '2016-08-31 00:15:06', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:15:06', '2016-08-31 00:15:06', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:15:06', '2016-08-31 00:15:06', 298486374)[0m
+ [1m[35m (54.6ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (89.9ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (72.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.7ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:17:07', '2016-08-31 00:17:07', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:17:07', '2016-08-31 00:17:07', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:17:07', '2016-08-31 00:17:07', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:17:07', '2016-08-31 00:17:07', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:17:07', '2016-08-31 00:17:07', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:17:07', '2016-08-31 00:17:07', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:17:07', '2016-08-31 00:17:07', 298486374)[0m
+ [1m[35m (54.8ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.4ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (80.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (64.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.0ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (61.2ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.3ms)[0m DROP TABLE "shops"
+ [1m[36m (54.1ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:17:24', '2016-08-31 00:17:24', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:17:24', '2016-08-31 00:17:24', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:17:24', '2016-08-31 00:17:24', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:17:24', '2016-08-31 00:17:24', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:17:24', '2016-08-31 00:17:24', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:17:24', '2016-08-31 00:17:24', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:17:24', '2016-08-31 00:17:24', 298486374)[0m
+ [1m[35m (62.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (85.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (64.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (48.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (54.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.6ms)[0m DROP TABLE "shops"
+ [1m[36m (62.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:18:37', '2016-08-31 00:18:37', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:18:37', '2016-08-31 00:18:37', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:18:37', '2016-08-31 00:18:37', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:18:37', '2016-08-31 00:18:37', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:18:37', '2016-08-31 00:18:37', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:18:37', '2016-08-31 00:18:37', 980190962)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:18:37', '2016-08-31 00:18:37', 298486374)[0m
+ [1m[35m (59.0ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (84.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (127.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.1ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "shops"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:19:20', '2016-08-31 00:19:20', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:19:20', '2016-08-31 00:19:20', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 229906743)[0m
+ [1m[35mFixture Insert (0.0ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:19:20', '2016-08-31 00:19:20', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:19:20', '2016-08-31 00:19:20', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:19:20', '2016-08-31 00:19:20', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:19:20', '2016-08-31 00:19:20', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:19:20', '2016-08-31 00:19:20', 298486374)[0m
+ [1m[35m (78.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (127.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (75.8ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (106.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (105.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (105.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (103.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (100.6ms)[0m DROP TABLE "shops"
+ [1m[36m (106.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:21:02', '2016-08-31 00:21:02', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:21:02', '2016-08-31 00:21:02', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:21:02', '2016-08-31 00:21:02', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:21:02', '2016-08-31 00:21:02', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:21:02', '2016-08-31 00:21:02', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:21:02', '2016-08-31 00:21:02', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:21:02', '2016-08-31 00:21:02', 298486374)[0m
+ [1m[35m (90.6ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (49.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (70.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (67.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:21:32', '2016-08-31 00:21:32', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:21:32', '2016-08-31 00:21:32', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:21:32', '2016-08-31 00:21:32', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:21:32', '2016-08-31 00:21:32', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:21:32', '2016-08-31 00:21:32', 298486374)
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:21:32', '2016-08-31 00:21:32', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:21:32', '2016-08-31 00:21:32', 298486374)[0m
+ [1m[35m (95.9ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (138.2ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (64.8ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (61.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.5ms)[0m DROP TABLE "shops"
+ [1m[36m (65.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:21:59', '2016-08-31 00:21:59', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:21:59', '2016-08-31 00:21:59', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:21:59', '2016-08-31 00:21:59', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:22:00', '2016-08-31 00:22:00', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:22:00', '2016-08-31 00:22:00', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:22:00', '2016-08-31 00:22:00', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:22:00', '2016-08-31 00:22:00', 298486374)[0m
+ [1m[35m (105.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (89.7ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (64.7ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (73.5ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (51.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (97.6ms)[0m DROP TABLE "shops"
+ [1m[36m (103.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:22:30', '2016-08-31 00:22:30', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:22:30', '2016-08-31 00:22:30', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:22:30', '2016-08-31 00:22:30', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:22:30', '2016-08-31 00:22:30', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:22:30', '2016-08-31 00:22:30', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:22:30', '2016-08-31 00:22:30', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:22:30', '2016-08-31 00:22:30', 298486374)[0m
+ [1m[35m (103.6ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (219.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (57.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (92.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (95.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (70.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.7ms)[0m DROP TABLE "shops"
+ [1m[36m (70.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:23:11', '2016-08-31 00:23:11', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:23:11', '2016-08-31 00:23:11', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:23:11', '2016-08-31 00:23:11', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:23:11', '2016-08-31 00:23:11', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:23:11', '2016-08-31 00:23:11', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:23:11', '2016-08-31 00:23:11', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:23:11', '2016-08-31 00:23:11', 298486374)[0m
+ [1m[35m (61.5ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (121.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (54.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (73.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.5ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (65.0ms)[0m DROP TABLE "shops"
+ [1m[36m (73.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:25:12', '2016-08-31 00:25:12', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:25:12', '2016-08-31 00:25:12', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:25:12', '2016-08-31 00:25:12', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:25:12', '2016-08-31 00:25:12', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:25:12', '2016-08-31 00:25:12', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:25:12', '2016-08-31 00:25:12', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:25:12', '2016-08-31 00:25:12', 298486374)[0m
+ [1m[35m (70.5ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_paper_out
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (81.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (344.7ms)[0m DROP TABLE "shops"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:25:36', '2016-08-31 00:25:36', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:25:36', '2016-08-31 00:25:36', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.3ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:25:36', '2016-08-31 00:25:36', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:25:36', '2016-08-31 00:25:36', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:25:36', '2016-08-31 00:25:36', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:25:36', '2016-08-31 00:25:36', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:25:36', '2016-08-31 00:25:36', 298486374)[0m
+ [1m[35m (48.1ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_paper_out
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.3ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (83.6ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.6ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.8ms)[0m DROP TABLE "shops"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:26:08', '2016-08-31 00:26:08', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:26:08', '2016-08-31 00:26:08', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:26:08', '2016-08-31 00:26:08', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:26:08', '2016-08-31 00:26:08', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:26:08', '2016-08-31 00:26:08', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:26:08', '2016-08-31 00:26:08', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:26:08', '2016-08-31 00:26:08', 298486374)[0m
+ [1m[35m (85.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_paper_out
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.5ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (174.8ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (68.1ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (62.7ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (60.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (62.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (57.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (52.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (54.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (51.7ms)[0m DROP TABLE "shops"
+ [1m[36m (62.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:26:25', '2016-08-31 00:26:25', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:26:25', '2016-08-31 00:26:25', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.2ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:26:25', '2016-08-31 00:26:25', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:26:25', '2016-08-31 00:26:25', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:26:25', '2016-08-31 00:26:25', 298486374)
+ [1m[36mFixture Delete (0.0ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:26:25', '2016-08-31 00:26:25', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:26:25', '2016-08-31 00:26:25', 298486374)[0m
+ [1m[35m (51.4ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_paper_out
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.0ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (121.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.7ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (97.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (89.0ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (106.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (97.2ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:30:26', '2016-08-31 00:30:26', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:30:26', '2016-08-31 00:30:26', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:30:26', '2016-08-31 00:30:26', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:30:26', '2016-08-31 00:30:26', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:30:26', '2016-08-31 00:30:26', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:30:26', '2016-08-31 00:30:26', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:30:26', '2016-08-31 00:30:26', 298486374)[0m
+ [1m[35m (72.3ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+---------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_autocut
+---------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_paper_out
+-----------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.4ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (130.3ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.0ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.3ms)[0m DROP TABLE "shops"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:31:48', '2016-08-31 00:31:48', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:31:48', '2016-08-31 00:31:48', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:31:48', '2016-08-31 00:31:48', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:31:48', '2016-08-31 00:31:48', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:31:48', '2016-08-31 00:31:48', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:31:48', '2016-08-31 00:31:48', 980190962)
+ [1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:31:48', '2016-08-31 00:31:48', 298486374)[0m
+ [1m[35m (284.3ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+---------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_autocut
+---------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+-----------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_paper_out
+-----------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.4ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.4ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (78.5ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (65.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (65.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (103.4ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (75.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "shops"
+ [1m[36m (103.6ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:32:18', '2016-08-31 00:32:18', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:32:18', '2016-08-31 00:32:18', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 258259918)
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:32:18', '2016-08-31 00:32:18', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:32:18', '2016-08-31 00:32:18', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:32:18', '2016-08-31 00:32:18', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:32:18', '2016-08-31 00:32:18', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:32:18', '2016-08-31 00:32:18', 298486374)[0m
+ [1m[35m (101.0ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+---------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_autocut
+---------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_paper_out
+-----------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.4ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (123.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (64.9ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (94.3ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (76.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.5ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (72.7ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.4ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (65.2ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.3ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:32:58', '2016-08-31 00:32:58', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:32:58', '2016-08-31 00:32:58', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:32:58', '2016-08-31 00:32:58', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:32:58', '2016-08-31 00:32:58', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:32:58', '2016-08-31 00:32:58', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:32:58', '2016-08-31 00:32:58', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:32:58', '2016-08-31 00:32:58', 298486374)[0m
+ [1m[35m (59.6ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+---------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_autocut
+---------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.3ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_paper_out
+-----------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_status
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (96.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (155.5ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (166.9ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (85.3ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (64.2ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.4ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (56.5ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (114.8ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (105.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:33:45', '2016-08-31 00:33:45', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:33:45', '2016-08-31 00:33:45', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:33:45', '2016-08-31 00:33:45', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:33:45', '2016-08-31 00:33:45', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:33:45', '2016-08-31 00:33:45', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:33:45', '2016-08-31 00:33:45', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:33:45', '2016-08-31 00:33:45', 298486374)[0m
+ [1m[35m (55.0ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.3ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+--------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_fsend
+--------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+---------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_handle
+---------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_response_frame
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_autocut
+---------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_handle
+--------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_paper_out
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35mExtface::Job Load (0.5ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.5ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (364.0ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.1ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (73.2ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (81.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.3ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (147.0ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (64.8ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (70.4ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (67.6ms)[0m DROP TABLE "shops"
+ [1m[36m (65.4ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:34:46', '2016-08-31 00:34:46', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:34:46', '2016-08-31 00:34:46', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:34:46', '2016-08-31 00:34:46', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:34:46', '2016-08-31 00:34:46', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:34:46', '2016-08-31 00:34:46', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:34:46', '2016-08-31 00:34:46', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:34:46', '2016-08-31 00:34:46', 298486374)[0m
+ [1m[35m (63.5ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------
+ExtfaceTest: test_truth
+-----------------------
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+--------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_fsend
+--------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+---------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_handle
+---------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_response_frame
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+---------------------------------------------------------
+Extface::DevicesControllerTest: test_should_create_device
+---------------------------------------------------------
+ [1m[36mExtface::Device Load (0.4ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (13.9ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.2ms)[0m 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"}}
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mExtface::Device Exists (0.2ms)[0m [1mSELECT 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[0m
+ [1m[35mExtface::Device Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-08-31 00:34:55.302004"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2016-08-31 00:34:55.302004"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2016-08-31 00:34:55.312119"], ["driver_id", 1033518406], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "f594b33662bf4bad98d129b3ee1d3d99"], ["updated_at", "2016-08-31 00:34:55.312119"], ["uuid", "f594b33662bf4bad98d129b3ee1d3d99"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Redirected to http://test.host/shops/298486374/shop_extface/devices/1033518406
+Completed 302 Found in 33ms (ActiveRecord: 1.6ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------------------
+Extface::DevicesControllerTest: test_should_destroy_device
+----------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Processing by Extface::DevicesController#destroy as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
+ [1m[35mExtface::Device Load (0.2ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Redirected to http://test.host/shops/298486374/shop_extface/devices
+Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_edit
+----------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#edit as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.6ms)
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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.5ms)
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (4.3ms)
+Completed 200 OK in 53ms (Views: 50.1ms | ActiveRecord: 1.2ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_index
+-----------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#index as HTML
+ Parameters: {"shop_id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ?[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Completed 200 OK in 35ms (Views: 30.6ms | ActiveRecord: 3.3ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_new
+---------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#new as HTML
+ Parameters: {"shop_id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
+Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------------
+Extface::DevicesControllerTest: test_should_show_device
+-------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#show as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Driver Load (0.0ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL)[0m [["device_id", 980190962]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL)[0m [["device_id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.8ms)
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mExtface::Job Load (0.1ms)[0m 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.6ms | ActiveRecord: 1.6ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+---------------------------------------------------------
+Extface::DevicesControllerTest: test_should_update_device
+---------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#update as HTML
+ Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mExtface::Device Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962[0m [["name", "new_name"], ["updated_at", "2016-08-31 00:34:55.478047"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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)
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.0ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+---------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_autocut
+---------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (59.4ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (62.4ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (64.7ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (65.6ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.6ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (70.6ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (64.8ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (59.2ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (70.5ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (59.7ms)[0m DROP TABLE "shops"
+ [1m[36m (70.8ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:35:39', '2016-08-31 00:35:39', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:35:39', '2016-08-31 00:35:39', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:35:39', '2016-08-31 00:35:39', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:35:39', '2016-08-31 00:35:39', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:35:39', '2016-08-31 00:35:39', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:35:39', '2016-08-31 00:35:39', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:35:39', '2016-08-31 00:35:39', 298486374)[0m
+ [1m[35m (50.9ms)[0m commit transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[36mExtface::Driver Load (0.3ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------
+Extface::JobsControllerTest: test_should_show_job
+-------------------------------------------------
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Processing by Extface::JobsController#show as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_fsend
+--------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+---------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_handle
+---------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_response_frame
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.3ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.3ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+---------------------------------------------------------
+Extface::DevicesControllerTest: test_should_create_device
+---------------------------------------------------------
+ [1m[36mExtface::Device Load (0.4ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.2ms)[0m 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"}}
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mExtface::Device Exists (0.2ms)[0m [1mSELECT 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[0m
+ [1m[35mExtface::Device Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-08-31 00:35:50.440835"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2016-08-31 00:35:50.440835"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2016-08-31 00:35:50.451015"], ["driver_id", 1033518406], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "6102502867378bca3504819bb526b6ad"], ["updated_at", "2016-08-31 00:35:50.451015"], ["uuid", "6102502867378bca3504819bb526b6ad"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Redirected to http://test.host/shops/298486374/shop_extface/devices/1033518406
+Completed 302 Found in 35ms (ActiveRecord: 1.5ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------------------
+Extface::DevicesControllerTest: test_should_destroy_device
+----------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Processing by Extface::DevicesController#destroy as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
+ [1m[35mExtface::Device Load (0.2ms)[0m 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]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Redirected to http://test.host/shops/298486374/shop_extface/devices
+Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_edit
+----------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#edit as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.6ms)
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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.5ms)
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.1ms)
+Completed 200 OK in 51ms (Views: 48.5ms | ActiveRecord: 1.2ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-----------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_index
+-----------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#index as HTML
+ Parameters: {"shop_id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ?[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Completed 200 OK in 31ms (Views: 27.1ms | ActiveRecord: 2.9ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+---------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_new
+---------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#new as HTML
+ Parameters: {"shop_id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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 11ms (Views: 8.7ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+-------------------------------------------------------
+Extface::DevicesControllerTest: test_should_show_device
+-------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#show as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Driver Load (0.0ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL)[0m [["device_id", 980190962]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL)[0m [["device_id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.8ms)
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mExtface::Job Load (0.1ms)[0m 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.7ms | ActiveRecord: 1.5ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+---------------------------------------------------------
+Extface::DevicesControllerTest: test_should_update_device
+---------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#update as HTML
+ Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mExtface::Device Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962[0m [["name", "new_name"], ["updated_at", "2016-08-31 00:35:50.611537"]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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)
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_autocut
+---------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 1033518405]]
+ [1m[35mExtface::Device Load (0.0ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.0ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+Completed 200 OK in 10008ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m rollback transaction
+ [1m[36mExtface::Job Load (0.5ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.4ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (412.1ms)[0m DROP TABLE "extface_devices"
+ [1m[36m (73.7ms)[0m [1mCREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) [0m
+ [1m[35m (72.6ms)[0m DROP TABLE "extface_drivers"
+ [1m[36m (73.5ms)[0m [1mCREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (56.1ms)[0m DROP TABLE "extface_jobs"
+ [1m[36m (73.2ms)[0m [1mCREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (65.1ms)[0m [1mCREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")[0m
+ [1m[35m (106.6ms)[0m DROP TABLE "extface_serial_configs"
+ [1m[36m (114.7ms)[0m [1mCREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (97.2ms)[0m DROP TABLE "shops"
+ [1m[36m (81.9ms)[0m [1mCREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_serial_configs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:42:29', '2016-08-31 00:42:29', 980190962, 258259918)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2016-08-31 00:42:29', '2016-08-31 00:42:29', 298486374, 599072141)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_devices"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 980190962, 'Shop', 980190962, 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 298486374, 'Shop', 980190962, 599072141)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 229906743, 'Shop', 980190962, 229906743)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 40760454, 'Shop', 980190962, 40760454)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 1033518405, 'Shop', 980190962, 1033518405)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "extface_drivers"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 258259918)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 412842077)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 599072141)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 229906743)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 40760454)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2016-08-31 00:42:29', '2016-08-31 00:42:29', 1033518405)[0m
+ [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "extface_jobs"
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:42:29', '2016-08-31 00:42:29', 980190962)[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2016-08-31 00:42:29', '2016-08-31 00:42:29', 298486374)
+ [1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "shops"[0m
+ [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:42:29', '2016-08-31 00:42:29', 980190962)
+ [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2016-08-31 00:42:29', '2016-08-31 00:42:29', 298486374)[0m
+ [1m[35m (62.8ms)[0m commit transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
+-----------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.4ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.3ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+--------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_fsend
+--------------------------------------------
+ [1m[36mExtface::Driver Load (0.2ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 40760454]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.4ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.6ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 40760454]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+---------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_handle
+---------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_response_frame
+-----------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+--------------------------------------------------------
+Extface::Driver::DaisyFx1200Test: test_sequence_mismatch
+--------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.2ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36mExtface::Job Load (0.2ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ?[0m [["device_id", 40760454]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------------------
+Extface::DevicesControllerTest: test_should_create_device
+---------------------------------------------------------
+ [1m[36mExtface::Device Load (0.2ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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"}}
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mExtface::Device Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?)[0m [["created_at", "2016-08-31 00:42:38.104225"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2016-08-31 00:42:38.104225"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2016-08-31 00:42:38.112539"], ["driver_id", 1033518406], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "05667fe4fe5686d963e985df0afe0e14"], ["updated_at", "2016-08-31 00:42:38.112539"], ["uuid", "05667fe4fe5686d963e985df0afe0e14"]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Redirected to http://test.host/shops/298486374/shop_extface/devices/1033518406
+Completed 302 Found in 25ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------------------
+Extface::DevicesControllerTest: test_should_destroy_device
+----------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Processing by Extface::DevicesController#destroy as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1[0m
+ [1m[35mExtface::Device Load (0.1ms)[0m 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]]
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Redirected to http://test.host/shops/298486374/shop_extface/devices
+Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_devices"
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_edit
+----------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#edit as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.6ms)
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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 (2.6ms)
+Completed 200 OK in 49ms (Views: 47.1ms | ActiveRecord: 1.1ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+-----------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_index
+-----------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#index as HTML
+ Parameters: {"shop_id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ?[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.3ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.1ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Driver Load (0.0ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mShop Load (0.4ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.2ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.2ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+Completed 200 OK in 44ms (Views: 38.1ms | ActiveRecord: 4.3ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------------
+Extface::DevicesControllerTest: test_should_get_new
+---------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#new as HTML
+ Parameters: {"shop_id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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 12ms (Views: 10.0ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+-------------------------------------------------------
+Extface::DevicesControllerTest: test_should_show_device
+-------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.0ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.0ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#show as HTML
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 258259918]]
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL)[0m [["device_id", 980190962]]
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL)[0m [["device_id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.7ms)
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mExtface::Job Load (0.3ms)[0m 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 26ms (Views: 22.5ms | ActiveRecord: 2.0ms)
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+---------------------------------------------------------
+Extface::DevicesControllerTest: test_should_update_device
+---------------------------------------------------------
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+Processing by Extface::DevicesController#update as HTML
+ Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
+ [1m[36mExtface::Device Load (0.0ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1[0m [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mExtface::Device Exists (0.1ms)[0m [1mSELECT 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[0m
+ [1m[35mExtface::Device Exists (0.1ms)[0m 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
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962[0m [["name", "new_name"], ["updated_at", "2016-08-31 00:42:38.286380"]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m 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)
+ [1m[36mShop Load (0.1ms)[0m [1mSELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1[0m
+ [1m[35mShop Load (0.1ms)[0m SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.2ms)[0m begin transaction
+-----------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_build_packet
+-----------------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.2ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36m (0.2ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_fsend
+----------------------------------------------
+ [1m[36mExtface::Driver Load (0.1ms)[0m [1mSELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1[0m [["id", 229906743]]
+ [1m[35mExtface::Device Load (0.1ms)[0m SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1[0m [["id", 980190962]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 229906743]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
+ [1m[36mExtface::Job Load (0.1ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-----------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_handle
+-----------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+-------------------------------------------------------
+Extface::Driver::Datecs::Fp550Test: test_response_frame
+-------------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 229906743]]
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+---------------------------------------------------
+Extface::Driver::Posiflex::Aura80Test: test_autocut
+---------------------------------------------------
+ [1m[35mExtface::Driver Load (0.2ms)[0m SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
+ [1m[36mExtface::Device Load (0.1ms)[0m [1mSELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1[0m [["driver_id", 1033518405]]
+ [1m[35mExtface::Job Load (0.1ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35mExtface::Job Load (0.4ms)[0m SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
+ [1m[36mExtface::Job Load (0.4ms)[0m [1mSELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1[0m [["device_id", 1033518405]]