extface 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd1126c53dc93e2a74c7924b5f1d539a41a7c127
4
- data.tar.gz: d9426f418c1464e4745f970d75f8b008fb3f1793
3
+ metadata.gz: 37f9b8889693d6375eda12ef08594c25c98eb453
4
+ data.tar.gz: 114d8706d7eeb0b4ed151bcde9a057dbddfd8a23
5
5
  SHA512:
6
- metadata.gz: 09b1d1f4967722d9af90f14f6c892d769f788b7d1584c385d9ed0336f78bbdc4178127feded977132b7638d1d31c083104aecef5f31d614d57b4f2649081c77a
7
- data.tar.gz: 0b353b388d3788f067cc2dd25467f6f3216de1274e8a0452982f22a658b410e9d1b9e105887d3885886042bb3a9f1a7b91b9ea54bae71b86ac0c4c38461d800a
6
+ metadata.gz: 1ed1904327764ffe78fb3a8fb5511f49fc55bf582a93ff1911c47d1a98faa7abea39841162d21e24a666af0cea5a3d00058f2e157bf72517d9b83c06fb06dafc
7
+ data.tar.gz: d1e7fbf59ff3bdc5e2cd49ab8d63133402c6abde5f404fd1b84db4b3492d8d3f7d0b234c285cf40428bab6a7d0d1635c5b0f7322d85de309234498aa70502094
@@ -294,9 +294,15 @@ module Extface
294
294
 
295
295
  private
296
296
  def build_sale_data(item)
297
+ encoded_text1 = device.encoding.present? ? item.text1.encode(device.encoding) : item.text1
298
+ encoded_text1 = encoded_text1.mb_chars.limit(27).to_s + '...' if encoded_text1 && encoded_text1.b.length > 30
299
+
300
+ encoded_text2 = device.encoding.present? ? item.text2.encode(device.encoding) : item.text2
301
+ encoded_text2 = encoded_text1.mb_chars.limit(27).to_s + '...' if encoded_text2 && encoded_text2.b.length > 30
302
+
297
303
  "".tap() do |data|
298
- data << item.text1 unless item.text1.blank?
299
- data << "\x0a#{text2}" unless item.text2.blank?
304
+ data << encoded_text1 unless encoded_text1.blank?
305
+ data << "\x0a#{encoded_text2}" unless encoded_text2.blank?
300
306
  data << "\t"
301
307
  data << TAX_GROUPS_MAP[item.tax_group || 2]
302
308
  data << ("%.2f" % item.price)
@@ -268,20 +268,26 @@ module Extface
268
268
  errors.add :base, "Field Overflow" unless (status_1 & 0x01).zero?
269
269
  end
270
270
 
271
- private
272
- def build_sale_data(item)
273
- "".b.tap() do |data|
274
- data << item.text1.truncate(30) unless item.text1.blank?
275
- data << "\x0a#{text2}" unless item.text2.blank?
276
- data << "\t"
277
- data << TAX_GROUPS_MAP[item.tax_group || 2]
278
- data << ("%.2f" % item.price)
279
- data << "*#{item.qty.to_s}" unless item.qty.blank?
280
- data << ",#{item.percent}" unless item.percent.blank?
281
- data << ",;#{'%.2f' % item.neto}" unless item.neto.blank?
282
- end
283
- end
271
+ def build_sale_data(item)
272
+ encoded_text1 = device.encoding.present? ? item.text1.encode(device.encoding) : item.text1
273
+ encoded_text1 = encoded_text1.mb_chars.limit(27).to_s + '...' if encoded_text1 && encoded_text1.b.length > 30
274
+
275
+ encoded_text2 = device.encoding.present? ? item.text2.encode(device.encoding) : item.text2
276
+ encoded_text2 = encoded_text1.mb_chars.limit(27).to_s + '...' if encoded_text2 && encoded_text2.b.length > 30
284
277
 
278
+ "".b.tap() do |data|
279
+ data << encoded_text1 unless encoded_text1.blank?
280
+ data << "\x0a#{encoded_text2}" unless encoded_text2.blank?
281
+ data << "\t"
282
+ data << TAX_GROUPS_MAP[item.tax_group || 2]
283
+ data << ("%.2f" % item.price)
284
+ data << "*#{item.qty.to_s}" unless item.qty.blank?
285
+ data << ",#{item.percent}" unless item.percent.blank?
286
+ data << ",;#{'%.2f' % item.neto}" unless item.neto.blank?
287
+ end
288
+ end
289
+
290
+ private
285
291
  def sequence_number(increment = true)
286
292
  @seq ||= 0x1f
287
293
  @seq += 1 if increment
@@ -1,3 +1,3 @@
1
1
  module Extface
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
Binary file
@@ -1,11 +1,7 @@
1
- # Logfile created on 2017-03-28 20:49:40 -0400 by logger.rb/44203
2
- D, [2017-03-28T20:49:40.028578 #9345] DEBUG -- : --> 1D 72 49
3
- D, [2017-03-28T20:49:41.104858 #9345] DEBUG -- : --> 0D 0A 0D 0A 0D 0A
4
- D, [2017-03-28T20:49:41.110390 #9345] DEBUG -- : --> 1B 69
5
- D, [2017-03-28T20:49:42.173477 #9345] DEBUG -- : --> 1D 72 49
6
- D, [2017-03-28T20:49:43.268342 #9345] DEBUG -- : --> 1D 72 49
7
- D, [2017-03-28T20:51:06.085122 #9490] DEBUG -- : --> 1D 72 49
8
- D, [2017-03-28T20:51:07.158484 #9490] DEBUG -- : --> 0D 0A 0D 0A 0D 0A
9
- D, [2017-03-28T20:51:07.161589 #9490] DEBUG -- : --> 1B 69
10
- D, [2017-03-28T20:51:08.278707 #9490] DEBUG -- : --> 1D 72 49
11
- D, [2017-03-28T20:51:09.379386 #9490] DEBUG -- : --> 1D 72 49
1
+ # Logfile created on 2017-05-31 18:58:43 -0400 by logger.rb/44203
2
+ D, [2017-05-31T18:58:43.469302 #14951] DEBUG -- : --> 1D 72 49
3
+ D, [2017-05-31T18:58:44.538862 #14951] DEBUG -- : --> 0D 0A 0D 0A 0D 0A
4
+ D, [2017-05-31T18:58:44.543173 #14951] DEBUG -- : --> 1B 69
5
+ D, [2017-05-31T18:58:45.657661 #14951] DEBUG -- : --> 1D 72 49
6
+ D, [2017-05-31T18:58:47.854508 #14951] DEBUG -- : --> 1D 72 49
7
+ D, [2017-05-31T18:58:57.851177 #14951] DEBUG -- : --> 1D 72 49
@@ -0,0 +1,11 @@
1
+ # Logfile created on 2017-03-28 20:49:40 -0400 by logger.rb/44203
2
+ D, [2017-03-28T20:49:40.028578 #9345] DEBUG -- : --> 1D 72 49
3
+ D, [2017-03-28T20:49:41.104858 #9345] DEBUG -- : --> 0D 0A 0D 0A 0D 0A
4
+ D, [2017-03-28T20:49:41.110390 #9345] DEBUG -- : --> 1B 69
5
+ D, [2017-03-28T20:49:42.173477 #9345] DEBUG -- : --> 1D 72 49
6
+ D, [2017-03-28T20:49:43.268342 #9345] DEBUG -- : --> 1D 72 49
7
+ D, [2017-03-28T20:51:06.085122 #9490] DEBUG -- : --> 1D 72 49
8
+ D, [2017-03-28T20:51:07.158484 #9490] DEBUG -- : --> 0D 0A 0D 0A 0D 0A
9
+ D, [2017-03-28T20:51:07.161589 #9490] DEBUG -- : --> 1B 69
10
+ D, [2017-03-28T20:51:08.278707 #9490] DEBUG -- : --> 1D 72 49
11
+ D, [2017-03-28T20:51:09.379386 #9490] DEBUG -- : --> 1D 72 49
@@ -0,0 +1,6 @@
1
+ # Logfile created on 2017-04-24 19:14:26 -0400 by logger.rb/44203
2
+ D, [2017-04-24T19:14:26.146523 #22637] DEBUG -- : --> 1D 72 49
3
+ D, [2017-04-24T19:14:27.250379 #22637] DEBUG -- : --> 0D 0A 0D 0A 0D 0A
4
+ D, [2017-04-24T19:14:27.255349 #22637] DEBUG -- : --> 1B 69
5
+ D, [2017-04-24T19:14:28.304342 #22637] DEBUG -- : --> 1D 72 49
6
+ D, [2017-04-24T19:14:29.409568 #22637] DEBUG -- : --> 1D 72 49
@@ -1,5 +1,3 @@
1
- # Logfile created on 2017-03-28 20:49:44 -0400 by logger.rb/44203
2
- D, [2017-03-28T20:49:44.815529 #9345] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
- D, [2017-03-28T20:49:45.873523 #9345] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
4
- D, [2017-03-28T20:51:03.912378 #9490] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
5
- D, [2017-03-28T20:51:04.960867 #9490] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
1
+ # Logfile created on 2017-05-31 18:58:39 -0400 by logger.rb/44203
2
+ D, [2017-05-31T18:58:39.044172 #14951] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
+ D, [2017-05-31T18:58:40.131239 #14951] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -0,0 +1,5 @@
1
+ # Logfile created on 2017-03-28 20:49:44 -0400 by logger.rb/44203
2
+ D, [2017-03-28T20:49:44.815529 #9345] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
+ D, [2017-03-28T20:49:45.873523 #9345] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
4
+ D, [2017-03-28T20:51:03.912378 #9490] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
5
+ D, [2017-03-28T20:51:04.960867 #9490] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -0,0 +1,59 @@
1
+ # Logfile created on 2017-04-24 19:40:18 -0400 by logger.rb/44203
2
+ D, [2017-04-24T19:40:18.514764 #23501] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
+ D, [2017-04-24T19:40:19.586663 #23501] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
4
+ D, [2017-04-24T19:45:34.903354 #23747] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
5
+ D, [2017-04-24T19:45:35.940106 #23747] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
6
+ D, [2017-04-24T19:45:57.927616 #23788] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
7
+ D, [2017-04-24T19:45:59.006765 #23788] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
8
+ D, [2017-04-24T19:46:32.109298 #23878] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
9
+ D, [2017-04-24T19:46:33.201974 #23878] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
10
+ D, [2017-04-24T19:46:52.468319 #23921] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
11
+ D, [2017-04-24T19:46:53.559518 #23921] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
12
+ D, [2017-04-24T19:54:31.857182 #24140] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
13
+ D, [2017-04-24T19:54:32.935671 #24140] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
14
+ D, [2017-04-24T20:55:39.251370 #26211] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
15
+ D, [2017-04-24T20:55:40.327856 #26211] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
16
+ D, [2017-04-24T20:56:44.378965 #26287] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
17
+ D, [2017-04-24T20:56:45.404658 #26287] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
18
+ D, [2017-04-24T20:57:06.621776 #26327] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
19
+ D, [2017-04-24T20:57:07.664857 #26327] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
20
+ D, [2017-04-24T20:57:33.780611 #26367] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
21
+ D, [2017-04-24T20:57:34.839725 #26367] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
22
+ D, [2017-04-24T21:02:19.500880 #26622] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
23
+ D, [2017-04-24T21:02:20.570912 #26622] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
24
+ D, [2017-04-24T21:02:59.294600 #26667] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
25
+ D, [2017-04-24T21:03:00.383128 #26667] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
26
+ D, [2017-04-24T21:03:25.504579 #26714] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
27
+ D, [2017-04-24T21:03:26.552408 #26714] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
28
+ D, [2017-04-24T21:03:49.595965 #26762] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
29
+ D, [2017-04-24T21:03:50.619419 #26762] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
30
+ D, [2017-04-24T21:04:40.803932 #26869] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
31
+ D, [2017-04-24T21:04:41.856999 #26869] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
32
+ D, [2017-04-24T21:05:44.434996 #26942] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
33
+ D, [2017-04-24T21:05:45.536444 #26942] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
34
+ D, [2017-04-24T21:06:14.458718 #26987] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
35
+ D, [2017-04-24T21:06:15.524760 #26987] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
36
+ D, [2017-04-24T21:09:35.098191 #27129] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
37
+ D, [2017-04-24T21:09:36.192807 #27129] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
38
+ D, [2017-04-24T21:10:15.260375 #27182] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
39
+ D, [2017-04-24T21:10:16.303034 #27182] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
40
+ D, [2017-04-24T21:11:21.107301 #27284] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
41
+ D, [2017-04-24T21:11:22.182689 #27284] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
42
+ D, [2017-04-24T21:12:02.051550 #27318] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
43
+ D, [2017-04-24T21:12:03.094776 #27318] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
44
+ D, [2017-04-24T21:12:26.851963 #27363] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
45
+ D, [2017-04-24T21:12:27.961373 #27363] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
46
+ D, [2017-04-24T21:14:20.669111 #27473] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
47
+ D, [2017-04-24T21:14:21.698117 #27473] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
48
+ D, [2017-04-24T21:14:54.942466 #27526] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
49
+ D, [2017-04-24T21:14:55.990404 #27526] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
50
+ D, [2017-04-24T21:15:44.241131 #27567] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
51
+ D, [2017-04-24T21:15:45.326691 #27567] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
52
+ D, [2017-04-24T21:16:31.393037 #27641] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
53
+ D, [2017-04-24T21:16:32.459984 #27641] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
54
+ D, [2017-04-24T21:17:22.716013 #27699] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
55
+ D, [2017-04-24T21:17:23.807538 #27699] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
56
+ D, [2017-04-24T21:20:17.779874 #27817] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
57
+ D, [2017-04-24T21:20:18.812285 #27817] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
58
+ D, [2017-04-24T21:20:45.078218 #27854] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
59
+ D, [2017-04-24T21:20:46.190279 #27854] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -0,0 +1,3 @@
1
+ # Logfile created on 2017-05-31 18:58:41 -0400 by logger.rb/44203
2
+ D, [2017-05-31T18:58:41.259674 #14951] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
+ D, [2017-05-31T18:58:42.339022 #14951] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -0,0 +1,3 @@
1
+ # Logfile created on 2017-04-24 19:14:30 -0400 by logger.rb/44203
2
+ D, [2017-04-24T19:14:30.592947 #22637] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
+ D, [2017-04-24T19:14:31.616312 #22637] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -1,5 +1,3 @@
1
- # Logfile created on 2017-03-28 20:49:48 -0400 by logger.rb/44203
2
- D, [2017-03-28T20:49:48.070537 #9345] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
3
- D, [2017-03-28T20:49:58.071194 #9345] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
4
- D, [2017-03-28T20:51:16.787793 #9490] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
5
- D, [2017-03-28T20:51:26.788723 #9490] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
1
+ # Logfile created on 2017-04-24 19:14:33 -0400 by logger.rb/44203
2
+ D, [2017-04-24T19:14:33.912544 #22637] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
3
+ D, [2017-04-24T19:14:43.915159 #22637] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
@@ -0,0 +1,5 @@
1
+ # Logfile created on 2017-03-28 20:49:48 -0400 by logger.rb/44203
2
+ D, [2017-03-28T20:49:48.070537 #9345] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
3
+ D, [2017-03-28T20:49:58.071194 #9345] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
4
+ D, [2017-03-28T20:51:16.787793 #9490] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
5
+ D, [2017-03-28T20:51:26.788723 #9490] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
@@ -15777,3 +15777,2868 @@ Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
15777
15777
   (0.2ms) rollback transaction
15778
15778
  Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
15779
15779
  Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
15780
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15781
+  (67.2ms) DROP TABLE "extface_devices"
15782
+  (90.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
15783
+  (89.7ms) DROP TABLE "extface_drivers"
15784
+  (90.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
15785
+  (81.3ms) DROP TABLE "extface_jobs"
15786
+  (73.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
15787
+  (0.3ms) select sqlite_version(*)
15788
+  (80.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
15789
+  (55.8ms) DROP TABLE "extface_serial_configs"
15790
+  (74.1ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
15791
+  (64.0ms) DROP TABLE "shops"
15792
+  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
15793
+  (0.2ms) SELECT version FROM "schema_migrations"
15794
+  (0.1ms) begin transaction
15795
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
15796
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:14:25', '2017-04-24 23:14:25', 980190962, 258259918)
15797
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:14:25', '2017-04-24 23:14:25', 298486374, 599072141)
15798
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
15799
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 980190962, 'Shop', 980190962, 258259918)
15800
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 298486374, 'Shop', 980190962, 599072141)
15801
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 229906743, 'Shop', 980190962, 229906743)
15802
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 372698694, 'Shop', 980190962, 372698694)
15803
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 40760454, 'Shop', 980190962, 40760454)
15804
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 1033518405, 'Shop', 980190962, 1033518405)
15805
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
15806
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 258259918)
15807
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 412842077)
15808
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 599072141)
15809
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 229906743)
15810
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 372698694)
15811
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 40760454)
15812
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:14:25', '2017-04-24 23:14:25', 1033518405)
15813
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
15814
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:14:25', '2017-04-24 23:14:25', 980190962)
15815
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:14:25', '2017-04-24 23:14:25', 298486374)
15816
+ Fixture Delete (0.1ms) DELETE FROM "shops"
15817
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:14:25', '2017-04-24 23:14:25', 980190962)
15818
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:14:25', '2017-04-24 23:14:25', 298486374)
15819
+  (65.0ms) commit transaction
15820
+  (0.1ms) begin transaction
15821
+ ---------------------------------------------------
15822
+ Extface::Driver::Posiflex::Aura80Test: test_autocut
15823
+ ---------------------------------------------------
15824
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
15825
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
15826
+ Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
15827
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
15828
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
15829
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
15830
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
15831
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
15832
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
15833
+  (0.2ms) rollback transaction
15834
+  (0.1ms) begin transaction
15835
+ --------------------------------------------------
15836
+ Extface::Driver::Posiflex::Aura80Test: test_handle
15837
+ --------------------------------------------------
15838
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
15839
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
15840
+  (0.2ms) rollback transaction
15841
+  (0.1ms) begin transaction
15842
+ -----------------------------------------------------
15843
+ Extface::Driver::Posiflex::Aura80Test: test_paper_out
15844
+ -----------------------------------------------------
15845
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
15846
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
15847
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
15848
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
15849
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
15850
+  (0.2ms) rollback transaction
15851
+  (0.2ms) begin transaction
15852
+ --------------------------------------------------
15853
+ Extface::Driver::Posiflex::Aura80Test: test_status
15854
+ --------------------------------------------------
15855
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
15856
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
15857
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
15858
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
15859
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
15860
+  (0.2ms) rollback transaction
15861
+  (0.1ms) begin transaction
15862
+ ----------------------------------------------------
15863
+ Extface::Driver::Datecs::Dp25Test: test_build_packet
15864
+ ----------------------------------------------------
15865
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]]
15866
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]]
15867
+  (0.1ms) rollback transaction
15868
+  (0.0ms) begin transaction
15869
+ ---------------------------------------------
15870
+ Extface::Driver::Datecs::Dp25Test: test_fsend
15871
+ ---------------------------------------------
15872
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]]
15873
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]]
15874
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
15875
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 372698694]]
15876
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 372698694]]
15877
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 372698694]]
15878
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 372698694]]
15879
+  (0.3ms) rollback transaction
15880
+  (0.2ms) begin transaction
15881
+ ----------------------------------------------
15882
+ Extface::Driver::Datecs::Dp25Test: test_handle
15883
+ ----------------------------------------------
15884
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]]
15885
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]]
15886
+  (0.1ms) rollback transaction
15887
+  (0.1ms) begin transaction
15888
+ ------------------------------------------------------
15889
+ Extface::Driver::Datecs::Dp25Test: test_response_frame
15890
+ ------------------------------------------------------
15891
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]]
15892
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]]
15893
+  (0.1ms) rollback transaction
15894
+  (0.1ms) begin transaction
15895
+ -----------------------------------------------------------
15896
+ Extface::Driver::DaisyFx1200Test: test_autofix_unclosed_doc
15897
+ -----------------------------------------------------------
15898
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
15899
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
15900
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
15901
+  (0.2ms) rollback transaction
15902
+ Extface::Job Load (0.7ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
15903
+ Extface::Job Load (0.5ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
15904
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15905
+  (110.6ms) DROP TABLE "extface_devices"
15906
+  (80.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
15907
+  (81.6ms) DROP TABLE "extface_drivers"
15908
+  (82.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
15909
+  (65.5ms) DROP TABLE "extface_jobs"
15910
+  (82.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
15911
+  (0.3ms) select sqlite_version(*)
15912
+  (79.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
15913
+  (64.9ms) DROP TABLE "extface_serial_configs"
15914
+  (82.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
15915
+  (65.3ms) DROP TABLE "shops"
15916
+  (73.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
15917
+  (0.1ms) SELECT version FROM "schema_migrations"
15918
+  (0.1ms) begin transaction
15919
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
15920
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:40:18', '2017-04-24 23:40:18', 980190962, 258259918)
15921
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:40:18', '2017-04-24 23:40:18', 298486374, 599072141)
15922
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
15923
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 980190962, 'Shop', 980190962, 258259918)
15924
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 298486374, 'Shop', 980190962, 599072141)
15925
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 229906743, 'Shop', 980190962, 229906743)
15926
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 372698694, 'Shop', 980190962, 372698694)
15927
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 40760454, 'Shop', 980190962, 40760454)
15928
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 1033518405, 'Shop', 980190962, 1033518405)
15929
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
15930
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 258259918)
15931
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 412842077)
15932
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 599072141)
15933
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 229906743)
15934
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 372698694)
15935
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 40760454)
15936
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:40:18', '2017-04-24 23:40:18', 1033518405)
15937
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
15938
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:40:18', '2017-04-24 23:40:18', 980190962)
15939
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:40:18', '2017-04-24 23:40:18', 298486374)
15940
+ Fixture Delete (0.1ms) DELETE FROM "shops"
15941
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:40:18', '2017-04-24 23:40:18', 980190962)
15942
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:40:18', '2017-04-24 23:40:18', 298486374)
15943
+  (64.2ms) commit transaction
15944
+  (0.3ms) begin transaction
15945
+ -----------------------------------------------------
15946
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
15947
+ -----------------------------------------------------
15948
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
15949
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
15950
+  (0.1ms) rollback transaction
15951
+  (0.1ms) begin transaction
15952
+ ----------------------------------------------
15953
+ Extface::Driver::Datecs::Fp550Test: test_fsend
15954
+ ----------------------------------------------
15955
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
15956
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
15957
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
15958
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
15959
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
15960
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
15961
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
15962
+  (0.3ms) rollback transaction
15963
+  (0.3ms) begin transaction
15964
+ -----------------------------------------------
15965
+ Extface::Driver::Datecs::Fp550Test: test_handle
15966
+ -----------------------------------------------
15967
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
15968
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
15969
+  (0.1ms) rollback transaction
15970
+  (0.1ms) begin transaction
15971
+ -------------------------------------------------------
15972
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
15973
+ -------------------------------------------------------
15974
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
15975
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
15976
+  (0.1ms) rollback transaction
15977
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15978
+  (93.5ms) DROP TABLE "extface_devices"
15979
+  (73.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
15980
+  (72.6ms) DROP TABLE "extface_drivers"
15981
+  (72.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
15982
+  (56.7ms) DROP TABLE "extface_jobs"
15983
+  (65.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
15984
+  (0.2ms) select sqlite_version(*)
15985
+  (64.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
15986
+  (65.3ms) DROP TABLE "extface_serial_configs"
15987
+  (70.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
15988
+  (68.2ms) DROP TABLE "shops"
15989
+  (70.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
15990
+  (0.1ms) SELECT version FROM "schema_migrations"
15991
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15992
+  (113.8ms) DROP TABLE "extface_devices"
15993
+  (71.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
15994
+  (91.2ms) DROP TABLE "extface_drivers"
15995
+  (71.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
15996
+  (59.6ms) DROP TABLE "extface_jobs"
15997
+  (62.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
15998
+  (0.1ms) select sqlite_version(*)
15999
+  (76.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16000
+  (80.3ms) DROP TABLE "extface_serial_configs"
16001
+  (70.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16002
+  (68.1ms) DROP TABLE "shops"
16003
+  (70.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16004
+  (0.1ms) SELECT version FROM "schema_migrations"
16005
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16006
+  (97.2ms) DROP TABLE "extface_devices"
16007
+  (69.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16008
+  (73.2ms) DROP TABLE "extface_drivers"
16009
+  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16010
+  (76.4ms) DROP TABLE "extface_jobs"
16011
+  (70.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16012
+  (0.1ms) select sqlite_version(*)
16013
+  (81.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16014
+  (76.8ms) DROP TABLE "extface_serial_configs"
16015
+  (70.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16016
+  (76.7ms) DROP TABLE "shops"
16017
+  (81.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16018
+  (0.1ms) SELECT version FROM "schema_migrations"
16019
+  (0.1ms) begin transaction
16020
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16021
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:45:34', '2017-04-24 23:45:34', 980190962, 258259918)
16022
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:45:34', '2017-04-24 23:45:34', 298486374, 599072141)
16023
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16024
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 980190962, 'Shop', 980190962, 258259918)
16025
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 298486374, 'Shop', 980190962, 599072141)
16026
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 229906743, 'Shop', 980190962, 229906743)
16027
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 372698694, 'Shop', 980190962, 372698694)
16028
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 40760454, 'Shop', 980190962, 40760454)
16029
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 1033518405, 'Shop', 980190962, 1033518405)
16030
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16031
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 258259918)
16032
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 412842077)
16033
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 599072141)
16034
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 229906743)
16035
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 372698694)
16036
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 40760454)
16037
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:45:34', '2017-04-24 23:45:34', 1033518405)
16038
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16039
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:45:34', '2017-04-24 23:45:34', 980190962)
16040
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:45:34', '2017-04-24 23:45:34', 298486374)
16041
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16042
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:45:34', '2017-04-24 23:45:34', 980190962)
16043
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:45:34', '2017-04-24 23:45:34', 298486374)
16044
+  (80.9ms) commit transaction
16045
+  (0.1ms) begin transaction
16046
+ -----------------------------------------------------
16047
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16048
+ -----------------------------------------------------
16049
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16050
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16051
+  (0.1ms) rollback transaction
16052
+  (0.0ms) begin transaction
16053
+ --------------------------------------------------------------
16054
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16055
+ --------------------------------------------------------------
16056
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16057
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16058
+  (0.2ms) rollback transaction
16059
+  (0.1ms) begin transaction
16060
+ ----------------------------------------------
16061
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16062
+ ----------------------------------------------
16063
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16064
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16065
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16066
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16067
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16068
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16069
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16070
+  (0.2ms) rollback transaction
16071
+  (0.1ms) begin transaction
16072
+ -----------------------------------------------
16073
+ Extface::Driver::Datecs::Fp550Test: test_handle
16074
+ -----------------------------------------------
16075
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16076
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16077
+  (0.1ms) rollback transaction
16078
+  (0.1ms) begin transaction
16079
+ -------------------------------------------------------
16080
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16081
+ -------------------------------------------------------
16082
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16083
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16084
+  (0.1ms) rollback transaction
16085
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16086
+  (133.8ms) DROP TABLE "extface_devices"
16087
+  (70.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16088
+  (66.5ms) DROP TABLE "extface_drivers"
16089
+  (81.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16090
+  (56.7ms) DROP TABLE "extface_jobs"
16091
+  (81.8ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16092
+  (0.1ms) select sqlite_version(*)
16093
+  (81.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16094
+  (65.1ms) DROP TABLE "extface_serial_configs"
16095
+  (90.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16096
+  (73.4ms) DROP TABLE "shops"
16097
+  (90.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16098
+  (0.2ms) SELECT version FROM "schema_migrations"
16099
+  (0.1ms) begin transaction
16100
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16101
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:45:57', '2017-04-24 23:45:57', 980190962, 258259918)
16102
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:45:57', '2017-04-24 23:45:57', 298486374, 599072141)
16103
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16104
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 980190962, 'Shop', 980190962, 258259918)
16105
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 298486374, 'Shop', 980190962, 599072141)
16106
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 229906743, 'Shop', 980190962, 229906743)
16107
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 372698694, 'Shop', 980190962, 372698694)
16108
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 40760454, 'Shop', 980190962, 40760454)
16109
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 1033518405, 'Shop', 980190962, 1033518405)
16110
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16111
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 258259918)
16112
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 412842077)
16113
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 599072141)
16114
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 229906743)
16115
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 372698694)
16116
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 40760454)
16117
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:45:57', '2017-04-24 23:45:57', 1033518405)
16118
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16119
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:45:57', '2017-04-24 23:45:57', 980190962)
16120
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:45:57', '2017-04-24 23:45:57', 298486374)
16121
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16122
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:45:57', '2017-04-24 23:45:57', 980190962)
16123
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:45:57', '2017-04-24 23:45:57', 298486374)
16124
+  (76.0ms) commit transaction
16125
+  (0.1ms) begin transaction
16126
+ -----------------------------------------------------
16127
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16128
+ -----------------------------------------------------
16129
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16130
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16131
+  (0.1ms) rollback transaction
16132
+  (0.1ms) begin transaction
16133
+ --------------------------------------------------------------
16134
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16135
+ --------------------------------------------------------------
16136
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16137
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16138
+  (0.2ms) rollback transaction
16139
+  (0.2ms) begin transaction
16140
+ ----------------------------------------------
16141
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16142
+ ----------------------------------------------
16143
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16144
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16145
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16146
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16147
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16148
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16149
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16150
+  (0.3ms) rollback transaction
16151
+  (0.2ms) begin transaction
16152
+ -----------------------------------------------
16153
+ Extface::Driver::Datecs::Fp550Test: test_handle
16154
+ -----------------------------------------------
16155
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16156
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16157
+  (0.1ms) rollback transaction
16158
+  (0.1ms) begin transaction
16159
+ -------------------------------------------------------
16160
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16161
+ -------------------------------------------------------
16162
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16163
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16164
+  (0.1ms) rollback transaction
16165
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16166
+  (101.7ms) DROP TABLE "extface_devices"
16167
+  (90.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16168
+  (90.2ms) DROP TABLE "extface_drivers"
16169
+  (73.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16170
+  (73.0ms) DROP TABLE "extface_jobs"
16171
+  (90.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16172
+  (0.1ms) select sqlite_version(*)
16173
+  (89.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16174
+  (73.5ms) DROP TABLE "extface_serial_configs"
16175
+  (82.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16176
+  (64.5ms) DROP TABLE "shops"
16177
+  (82.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16178
+  (0.1ms) SELECT version FROM "schema_migrations"
16179
+  (0.1ms) begin transaction
16180
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16181
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:46:31', '2017-04-24 23:46:31', 980190962, 258259918)
16182
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:46:31', '2017-04-24 23:46:31', 298486374, 599072141)
16183
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16184
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 980190962, 'Shop', 980190962, 258259918)
16185
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 298486374, 'Shop', 980190962, 599072141)
16186
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 229906743, 'Shop', 980190962, 229906743)
16187
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 372698694, 'Shop', 980190962, 372698694)
16188
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 40760454, 'Shop', 980190962, 40760454)
16189
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 1033518405, 'Shop', 980190962, 1033518405)
16190
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16191
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 258259918)
16192
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 412842077)
16193
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 599072141)
16194
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 229906743)
16195
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 372698694)
16196
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 40760454)
16197
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:46:31', '2017-04-24 23:46:31', 1033518405)
16198
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16199
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:46:31', '2017-04-24 23:46:31', 980190962)
16200
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:46:31', '2017-04-24 23:46:31', 298486374)
16201
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16202
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:46:31', '2017-04-24 23:46:31', 980190962)
16203
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:46:31', '2017-04-24 23:46:31', 298486374)
16204
+  (66.2ms) commit transaction
16205
+  (0.2ms) begin transaction
16206
+ -----------------------------------------------------
16207
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16208
+ -----------------------------------------------------
16209
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16210
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16211
+  (0.1ms) rollback transaction
16212
+  (0.1ms) begin transaction
16213
+ --------------------------------------------------------------
16214
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16215
+ --------------------------------------------------------------
16216
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16217
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16218
+  (0.2ms) rollback transaction
16219
+  (0.1ms) begin transaction
16220
+ ----------------------------------------------
16221
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16222
+ ----------------------------------------------
16223
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16224
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16225
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16226
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16227
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16228
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16229
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16230
+  (0.2ms) rollback transaction
16231
+  (0.2ms) begin transaction
16232
+ -----------------------------------------------
16233
+ Extface::Driver::Datecs::Fp550Test: test_handle
16234
+ -----------------------------------------------
16235
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16236
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16237
+  (0.1ms) rollback transaction
16238
+  (0.1ms) begin transaction
16239
+ -------------------------------------------------------
16240
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16241
+ -------------------------------------------------------
16242
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16243
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16244
+  (0.1ms) rollback transaction
16245
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16246
+  (173.8ms) DROP TABLE "extface_devices"
16247
+  (90.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16248
+  (89.9ms) DROP TABLE "extface_drivers"
16249
+  (90.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16250
+  (73.2ms) DROP TABLE "extface_jobs"
16251
+  (90.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16252
+  (0.3ms) select sqlite_version(*)
16253
+  (60.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16254
+  (75.0ms) DROP TABLE "extface_serial_configs"
16255
+  (82.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16256
+  (73.1ms) DROP TABLE "shops"
16257
+  (82.1ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16258
+  (0.2ms) SELECT version FROM "schema_migrations"
16259
+  (0.1ms) begin transaction
16260
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
16261
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:46:52', '2017-04-24 23:46:52', 980190962, 258259918)
16262
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:46:52', '2017-04-24 23:46:52', 298486374, 599072141)
16263
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16264
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 980190962, 'Shop', 980190962, 258259918)
16265
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 298486374, 'Shop', 980190962, 599072141)
16266
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 229906743, 'Shop', 980190962, 229906743)
16267
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 372698694, 'Shop', 980190962, 372698694)
16268
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 40760454, 'Shop', 980190962, 40760454)
16269
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 1033518405, 'Shop', 980190962, 1033518405)
16270
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16271
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 258259918)
16272
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 412842077)
16273
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 599072141)
16274
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 229906743)
16275
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 372698694)
16276
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 40760454)
16277
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:46:52', '2017-04-24 23:46:52', 1033518405)
16278
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16279
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:46:52', '2017-04-24 23:46:52', 980190962)
16280
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:46:52', '2017-04-24 23:46:52', 298486374)
16281
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16282
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:46:52', '2017-04-24 23:46:52', 980190962)
16283
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:46:52', '2017-04-24 23:46:52', 298486374)
16284
+  (69.3ms) commit transaction
16285
+  (0.2ms) begin transaction
16286
+ -----------------------------------------------------
16287
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16288
+ -----------------------------------------------------
16289
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16290
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16291
+  (0.1ms) rollback transaction
16292
+  (0.1ms) begin transaction
16293
+ --------------------------------------------------------------
16294
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16295
+ --------------------------------------------------------------
16296
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16297
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16298
+  (0.2ms) rollback transaction
16299
+  (0.1ms) begin transaction
16300
+ ----------------------------------------------
16301
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16302
+ ----------------------------------------------
16303
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16304
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16305
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16306
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16307
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16308
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16309
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16310
+  (0.2ms) rollback transaction
16311
+  (0.1ms) begin transaction
16312
+ -----------------------------------------------
16313
+ Extface::Driver::Datecs::Fp550Test: test_handle
16314
+ -----------------------------------------------
16315
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16316
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16317
+  (0.2ms) rollback transaction
16318
+  (0.1ms) begin transaction
16319
+ -------------------------------------------------------
16320
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16321
+ -------------------------------------------------------
16322
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16323
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16324
+  (0.1ms) rollback transaction
16325
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16326
+  (94.1ms) DROP TABLE "extface_devices"
16327
+  (73.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16328
+  (90.0ms) DROP TABLE "extface_drivers"
16329
+  (90.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16330
+  (63.6ms) DROP TABLE "extface_jobs"
16331
+  (90.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16332
+  (0.2ms) select sqlite_version(*)
16333
+  (69.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16334
+  (67.2ms) DROP TABLE "extface_serial_configs"
16335
+  (81.9ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16336
+  (73.6ms) DROP TABLE "shops"
16337
+  (73.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16338
+  (0.4ms) SELECT version FROM "schema_migrations"
16339
+  (0.1ms) begin transaction
16340
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16341
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:54:31', '2017-04-24 23:54:31', 980190962, 258259918)
16342
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-24 23:54:31', '2017-04-24 23:54:31', 298486374, 599072141)
16343
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16344
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 980190962, 'Shop', 980190962, 258259918)
16345
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 298486374, 'Shop', 980190962, 599072141)
16346
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 229906743, 'Shop', 980190962, 229906743)
16347
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 372698694, 'Shop', 980190962, 372698694)
16348
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 40760454, 'Shop', 980190962, 40760454)
16349
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 1033518405, 'Shop', 980190962, 1033518405)
16350
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16351
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 258259918)
16352
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 412842077)
16353
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 599072141)
16354
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 229906743)
16355
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 372698694)
16356
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 40760454)
16357
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-24 23:54:31', '2017-04-24 23:54:31', 1033518405)
16358
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16359
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:54:31', '2017-04-24 23:54:31', 980190962)
16360
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-24 23:54:31', '2017-04-24 23:54:31', 298486374)
16361
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16362
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:54:31', '2017-04-24 23:54:31', 980190962)
16363
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-24 23:54:31', '2017-04-24 23:54:31', 298486374)
16364
+  (74.5ms) commit transaction
16365
+  (0.1ms) begin transaction
16366
+ -----------------------------------------------------
16367
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16368
+ -----------------------------------------------------
16369
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16370
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16371
+  (0.1ms) rollback transaction
16372
+  (0.0ms) begin transaction
16373
+ --------------------------------------------------------------
16374
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16375
+ --------------------------------------------------------------
16376
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16377
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16378
+  (0.1ms) rollback transaction
16379
+  (0.1ms) begin transaction
16380
+ ----------------------------------------------
16381
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16382
+ ----------------------------------------------
16383
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16384
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16385
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16386
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16387
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16388
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16389
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16390
+  (0.2ms) rollback transaction
16391
+  (0.2ms) begin transaction
16392
+ -----------------------------------------------
16393
+ Extface::Driver::Datecs::Fp550Test: test_handle
16394
+ -----------------------------------------------
16395
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16396
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16397
+  (0.1ms) rollback transaction
16398
+  (0.1ms) begin transaction
16399
+ -------------------------------------------------------
16400
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16401
+ -------------------------------------------------------
16402
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16403
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16404
+  (0.1ms) rollback transaction
16405
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16406
+  (77.1ms) DROP TABLE "extface_devices"
16407
+  (73.6ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16408
+  (88.9ms) DROP TABLE "extface_drivers"
16409
+  (73.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16410
+  (65.1ms) DROP TABLE "extface_jobs"
16411
+  (73.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16412
+  (0.1ms) select sqlite_version(*)
16413
+  (73.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16414
+  (64.7ms) DROP TABLE "extface_serial_configs"
16415
+  (73.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16416
+  (64.9ms) DROP TABLE "shops"
16417
+  (73.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16418
+  (0.2ms) SELECT version FROM "schema_migrations"
16419
+  (0.1ms) begin transaction
16420
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16421
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:55:38', '2017-04-25 00:55:38', 980190962, 258259918)
16422
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:55:38', '2017-04-25 00:55:38', 298486374, 599072141)
16423
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
16424
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 980190962, 'Shop', 980190962, 258259918)
16425
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 298486374, 'Shop', 980190962, 599072141)
16426
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 229906743, 'Shop', 980190962, 229906743)
16427
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 372698694, 'Shop', 980190962, 372698694)
16428
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 40760454, 'Shop', 980190962, 40760454)
16429
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 1033518405, 'Shop', 980190962, 1033518405)
16430
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
16431
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 258259918)
16432
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 412842077)
16433
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 599072141)
16434
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 229906743)
16435
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 372698694)
16436
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 40760454)
16437
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 00:55:38', '2017-04-25 00:55:38', 1033518405)
16438
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16439
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:55:38', '2017-04-25 00:55:38', 980190962)
16440
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:55:38', '2017-04-25 00:55:38', 298486374)
16441
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16442
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:55:38', '2017-04-25 00:55:38', 980190962)
16443
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:55:38', '2017-04-25 00:55:38', 298486374)
16444
+  (417.3ms) commit transaction
16445
+  (0.1ms) begin transaction
16446
+ -----------------------------------------------------
16447
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16448
+ -----------------------------------------------------
16449
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16450
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16451
+  (0.1ms) rollback transaction
16452
+  (0.1ms) begin transaction
16453
+ --------------------------------------------------------------
16454
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16455
+ --------------------------------------------------------------
16456
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16457
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16458
+  (0.1ms) rollback transaction
16459
+  (0.1ms) begin transaction
16460
+ ----------------------------------------------
16461
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16462
+ ----------------------------------------------
16463
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16464
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16465
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16466
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16467
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16468
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16469
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16470
+  (0.3ms) rollback transaction
16471
+  (0.1ms) begin transaction
16472
+ -----------------------------------------------
16473
+ Extface::Driver::Datecs::Fp550Test: test_handle
16474
+ -----------------------------------------------
16475
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16476
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16477
+  (0.1ms) rollback transaction
16478
+  (0.1ms) begin transaction
16479
+ -------------------------------------------------------
16480
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16481
+ -------------------------------------------------------
16482
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16483
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16484
+  (0.1ms) rollback transaction
16485
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16486
+  (121.4ms) DROP TABLE "extface_devices"
16487
+  (64.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16488
+  (70.5ms) DROP TABLE "extface_drivers"
16489
+  (81.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16490
+  (76.5ms) DROP TABLE "extface_jobs"
16491
+  (70.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16492
+  (0.1ms) select sqlite_version(*)
16493
+  (73.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16494
+  (67.9ms) DROP TABLE "extface_serial_configs"
16495
+  (70.9ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16496
+  (68.0ms) DROP TABLE "shops"
16497
+  (70.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16498
+  (0.3ms) SELECT version FROM "schema_migrations"
16499
+  (0.1ms) begin transaction
16500
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16501
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:56:44', '2017-04-25 00:56:44', 980190962, 258259918)
16502
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:56:44', '2017-04-25 00:56:44', 298486374, 599072141)
16503
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16504
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 980190962, 'Shop', 980190962, 258259918)
16505
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 298486374, 'Shop', 980190962, 599072141)
16506
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 229906743, 'Shop', 980190962, 229906743)
16507
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 372698694, 'Shop', 980190962, 372698694)
16508
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 40760454, 'Shop', 980190962, 40760454)
16509
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 1033518405, 'Shop', 980190962, 1033518405)
16510
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16511
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 258259918)
16512
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 412842077)
16513
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 599072141)
16514
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 229906743)
16515
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 372698694)
16516
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 40760454)
16517
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 00:56:44', '2017-04-25 00:56:44', 1033518405)
16518
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16519
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:56:44', '2017-04-25 00:56:44', 980190962)
16520
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:56:44', '2017-04-25 00:56:44', 298486374)
16521
+ Fixture Delete (0.0ms) DELETE FROM "shops"
16522
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:56:44', '2017-04-25 00:56:44', 980190962)
16523
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:56:44', '2017-04-25 00:56:44', 298486374)
16524
+  (98.6ms) commit transaction
16525
+  (0.2ms) begin transaction
16526
+ -----------------------------------------------------
16527
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16528
+ -----------------------------------------------------
16529
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16530
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16531
+  (0.1ms) rollback transaction
16532
+  (0.1ms) begin transaction
16533
+ --------------------------------------------------------------
16534
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16535
+ --------------------------------------------------------------
16536
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16537
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16538
+  (0.2ms) rollback transaction
16539
+  (0.1ms) begin transaction
16540
+ ----------------------------------------------
16541
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16542
+ ----------------------------------------------
16543
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16544
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16545
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16546
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16547
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16548
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16549
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16550
+  (0.1ms) rollback transaction
16551
+  (0.1ms) begin transaction
16552
+ -----------------------------------------------
16553
+ Extface::Driver::Datecs::Fp550Test: test_handle
16554
+ -----------------------------------------------
16555
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16556
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16557
+  (0.1ms) rollback transaction
16558
+  (0.1ms) begin transaction
16559
+ -------------------------------------------------------
16560
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16561
+ -------------------------------------------------------
16562
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16563
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16564
+  (0.2ms) rollback transaction
16565
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16566
+  (83.2ms) DROP TABLE "extface_devices"
16567
+  (72.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16568
+  (68.9ms) DROP TABLE "extface_drivers"
16569
+  (73.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16570
+  (67.4ms) DROP TABLE "extface_jobs"
16571
+  (70.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16572
+  (0.2ms) select sqlite_version(*)
16573
+  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16574
+  (67.1ms) DROP TABLE "extface_serial_configs"
16575
+  (61.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16576
+  (59.2ms) DROP TABLE "shops"
16577
+  (65.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16578
+  (0.4ms) SELECT version FROM "schema_migrations"
16579
+  (0.1ms) begin transaction
16580
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16581
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:57:06', '2017-04-25 00:57:06', 980190962, 258259918)
16582
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:57:06', '2017-04-25 00:57:06', 298486374, 599072141)
16583
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16584
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 980190962, 'Shop', 980190962, 258259918)
16585
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 298486374, 'Shop', 980190962, 599072141)
16586
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 229906743, 'Shop', 980190962, 229906743)
16587
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 372698694, 'Shop', 980190962, 372698694)
16588
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 40760454, 'Shop', 980190962, 40760454)
16589
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 1033518405, 'Shop', 980190962, 1033518405)
16590
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16591
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 258259918)
16592
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 412842077)
16593
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 599072141)
16594
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 229906743)
16595
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 372698694)
16596
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 40760454)
16597
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 00:57:06', '2017-04-25 00:57:06', 1033518405)
16598
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16599
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:57:06', '2017-04-25 00:57:06', 980190962)
16600
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:57:06', '2017-04-25 00:57:06', 298486374)
16601
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16602
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:57:06', '2017-04-25 00:57:06', 980190962)
16603
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:57:06', '2017-04-25 00:57:06', 298486374)
16604
+  (52.5ms) commit transaction
16605
+  (0.2ms) begin transaction
16606
+ -----------------------------------------------------
16607
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16608
+ -----------------------------------------------------
16609
+ Extface::Driver Load (0.6ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16610
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16611
+  (0.1ms) rollback transaction
16612
+  (0.1ms) begin transaction
16613
+ --------------------------------------------------------------
16614
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16615
+ --------------------------------------------------------------
16616
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16617
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16618
+  (0.2ms) rollback transaction
16619
+  (0.1ms) begin transaction
16620
+ ----------------------------------------------
16621
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16622
+ ----------------------------------------------
16623
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16624
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16625
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16626
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16627
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16628
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16629
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16630
+  (0.3ms) rollback transaction
16631
+  (0.3ms) begin transaction
16632
+ -----------------------------------------------
16633
+ Extface::Driver::Datecs::Fp550Test: test_handle
16634
+ -----------------------------------------------
16635
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16636
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16637
+  (0.1ms) rollback transaction
16638
+  (0.1ms) begin transaction
16639
+ -------------------------------------------------------
16640
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16641
+ -------------------------------------------------------
16642
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16643
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16644
+  (0.1ms) rollback transaction
16645
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16646
+  (98.0ms) DROP TABLE "extface_devices"
16647
+  (70.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16648
+  (72.3ms) DROP TABLE "extface_drivers"
16649
+  (85.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16650
+  (64.0ms) DROP TABLE "extface_jobs"
16651
+  (70.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16652
+  (0.2ms) select sqlite_version(*)
16653
+  (72.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16654
+  (58.0ms) DROP TABLE "extface_serial_configs"
16655
+  (62.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16656
+  (59.3ms) DROP TABLE "shops"
16657
+  (62.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16658
+  (0.3ms) SELECT version FROM "schema_migrations"
16659
+  (0.1ms) begin transaction
16660
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16661
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:57:33', '2017-04-25 00:57:33', 980190962, 258259918)
16662
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 00:57:33', '2017-04-25 00:57:33', 298486374, 599072141)
16663
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16664
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 980190962, 'Shop', 980190962, 258259918)
16665
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 298486374, 'Shop', 980190962, 599072141)
16666
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 229906743, 'Shop', 980190962, 229906743)
16667
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 372698694, 'Shop', 980190962, 372698694)
16668
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 40760454, 'Shop', 980190962, 40760454)
16669
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 1033518405, 'Shop', 980190962, 1033518405)
16670
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16671
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 258259918)
16672
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 412842077)
16673
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 599072141)
16674
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 229906743)
16675
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 372698694)
16676
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 40760454)
16677
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 00:57:33', '2017-04-25 00:57:33', 1033518405)
16678
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16679
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:57:33', '2017-04-25 00:57:33', 980190962)
16680
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 00:57:33', '2017-04-25 00:57:33', 298486374)
16681
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16682
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:57:33', '2017-04-25 00:57:33', 980190962)
16683
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 00:57:33', '2017-04-25 00:57:33', 298486374)
16684
+  (74.2ms) commit transaction
16685
+  (0.2ms) begin transaction
16686
+ -----------------------------------------------------
16687
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16688
+ -----------------------------------------------------
16689
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16690
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16691
+  (0.1ms) rollback transaction
16692
+  (0.1ms) begin transaction
16693
+ --------------------------------------------------------------
16694
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16695
+ --------------------------------------------------------------
16696
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16697
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16698
+  (0.2ms) rollback transaction
16699
+  (0.1ms) begin transaction
16700
+ ----------------------------------------------
16701
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16702
+ ----------------------------------------------
16703
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16704
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16705
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16706
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16707
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16708
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16709
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16710
+  (0.3ms) rollback transaction
16711
+  (0.2ms) begin transaction
16712
+ -----------------------------------------------
16713
+ Extface::Driver::Datecs::Fp550Test: test_handle
16714
+ -----------------------------------------------
16715
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16716
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16717
+  (0.1ms) rollback transaction
16718
+  (0.1ms) begin transaction
16719
+ -------------------------------------------------------
16720
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16721
+ -------------------------------------------------------
16722
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16723
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16724
+  (0.1ms) rollback transaction
16725
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
16726
+  (100.7ms) DROP TABLE "extface_devices"
16727
+  (81.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16728
+  (80.9ms) DROP TABLE "extface_drivers"
16729
+  (70.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16730
+  (76.0ms) DROP TABLE "extface_jobs"
16731
+  (81.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16732
+  (0.2ms) select sqlite_version(*)
16733
+  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16734
+  (56.2ms) DROP TABLE "extface_serial_configs"
16735
+  (73.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16736
+  (65.2ms) DROP TABLE "shops"
16737
+  (82.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16738
+  (0.3ms) SELECT version FROM "schema_migrations"
16739
+  (0.1ms) begin transaction
16740
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
16741
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:02:19', '2017-04-25 01:02:19', 980190962, 258259918)
16742
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:02:19', '2017-04-25 01:02:19', 298486374, 599072141)
16743
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16744
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 980190962, 'Shop', 980190962, 258259918)
16745
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 298486374, 'Shop', 980190962, 599072141)
16746
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 229906743, 'Shop', 980190962, 229906743)
16747
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 372698694, 'Shop', 980190962, 372698694)
16748
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 40760454, 'Shop', 980190962, 40760454)
16749
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 1033518405, 'Shop', 980190962, 1033518405)
16750
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16751
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 258259918)
16752
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 412842077)
16753
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 599072141)
16754
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 229906743)
16755
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 372698694)
16756
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 40760454)
16757
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:02:19', '2017-04-25 01:02:19', 1033518405)
16758
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16759
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:02:19', '2017-04-25 01:02:19', 980190962)
16760
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:02:19', '2017-04-25 01:02:19', 298486374)
16761
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16762
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:02:19', '2017-04-25 01:02:19', 980190962)
16763
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:02:19', '2017-04-25 01:02:19', 298486374)
16764
+  (50.5ms) commit transaction
16765
+  (0.1ms) begin transaction
16766
+ -----------------------------------------------------
16767
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16768
+ -----------------------------------------------------
16769
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16770
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16771
+  (0.1ms) rollback transaction
16772
+  (0.1ms) begin transaction
16773
+ --------------------------------------------------------------
16774
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16775
+ --------------------------------------------------------------
16776
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16777
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16778
+  (0.1ms) rollback transaction
16779
+  (0.1ms) begin transaction
16780
+ ----------------------------------------------
16781
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16782
+ ----------------------------------------------
16783
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16784
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16785
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16786
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16787
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16788
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16789
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16790
+  (0.2ms) rollback transaction
16791
+  (0.2ms) begin transaction
16792
+ -----------------------------------------------
16793
+ Extface::Driver::Datecs::Fp550Test: test_handle
16794
+ -----------------------------------------------
16795
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16796
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16797
+  (0.1ms) rollback transaction
16798
+  (0.1ms) begin transaction
16799
+ -------------------------------------------------------
16800
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16801
+ -------------------------------------------------------
16802
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16803
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16804
+  (0.1ms) rollback transaction
16805
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16806
+  (75.1ms) DROP TABLE "extface_devices"
16807
+  (82.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16808
+  (106.3ms) DROP TABLE "extface_drivers"
16809
+  (81.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16810
+  (73.3ms) DROP TABLE "extface_jobs"
16811
+  (90.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16812
+  (0.3ms) select sqlite_version(*)
16813
+  (80.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16814
+  (73.4ms) DROP TABLE "extface_serial_configs"
16815
+  (90.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16816
+  (81.7ms) DROP TABLE "shops"
16817
+  (82.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16818
+  (0.3ms) SELECT version FROM "schema_migrations"
16819
+  (0.1ms) begin transaction
16820
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16821
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:02:59', '2017-04-25 01:02:59', 980190962, 258259918)
16822
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:02:59', '2017-04-25 01:02:59', 298486374, 599072141)
16823
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16824
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 980190962, 'Shop', 980190962, 258259918)
16825
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 298486374, 'Shop', 980190962, 599072141)
16826
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 229906743, 'Shop', 980190962, 229906743)
16827
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 372698694, 'Shop', 980190962, 372698694)
16828
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 40760454, 'Shop', 980190962, 40760454)
16829
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 1033518405, 'Shop', 980190962, 1033518405)
16830
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16831
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 258259918)
16832
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 412842077)
16833
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 599072141)
16834
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 229906743)
16835
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 372698694)
16836
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 40760454)
16837
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:02:59', '2017-04-25 01:02:59', 1033518405)
16838
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16839
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:02:59', '2017-04-25 01:02:59', 980190962)
16840
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:02:59', '2017-04-25 01:02:59', 298486374)
16841
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16842
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:02:59', '2017-04-25 01:02:59', 980190962)
16843
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:02:59', '2017-04-25 01:02:59', 298486374)
16844
+  (70.9ms) commit transaction
16845
+  (0.1ms) begin transaction
16846
+ -----------------------------------------------------
16847
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16848
+ -----------------------------------------------------
16849
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16850
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16851
+  (0.1ms) rollback transaction
16852
+  (0.1ms) begin transaction
16853
+ --------------------------------------------------------------
16854
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16855
+ --------------------------------------------------------------
16856
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16857
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16858
+  (0.1ms) rollback transaction
16859
+  (0.1ms) begin transaction
16860
+ ----------------------------------------------
16861
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16862
+ ----------------------------------------------
16863
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16864
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16865
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16866
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16867
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16868
+ Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16869
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16870
+  (0.1ms) rollback transaction
16871
+  (0.1ms) begin transaction
16872
+ -----------------------------------------------
16873
+ Extface::Driver::Datecs::Fp550Test: test_handle
16874
+ -----------------------------------------------
16875
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16876
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16877
+  (0.1ms) rollback transaction
16878
+  (0.1ms) begin transaction
16879
+ -------------------------------------------------------
16880
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16881
+ -------------------------------------------------------
16882
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16883
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16884
+  (0.1ms) rollback transaction
16885
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16886
+  (111.2ms) DROP TABLE "extface_devices"
16887
+  (90.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16888
+  (80.4ms) DROP TABLE "extface_drivers"
16889
+  (90.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16890
+  (72.7ms) DROP TABLE "extface_jobs"
16891
+  (89.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16892
+  (0.1ms) select sqlite_version(*)
16893
+  (89.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16894
+  (72.3ms) DROP TABLE "extface_serial_configs"
16895
+  (82.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16896
+  (64.1ms) DROP TABLE "shops"
16897
+  (81.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16898
+  (0.1ms) SELECT version FROM "schema_migrations"
16899
+  (0.1ms) begin transaction
16900
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
16901
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:03:25', '2017-04-25 01:03:25', 980190962, 258259918)
16902
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:03:25', '2017-04-25 01:03:25', 298486374, 599072141)
16903
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16904
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 980190962, 'Shop', 980190962, 258259918)
16905
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 298486374, 'Shop', 980190962, 599072141)
16906
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 229906743, 'Shop', 980190962, 229906743)
16907
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 372698694, 'Shop', 980190962, 372698694)
16908
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 40760454, 'Shop', 980190962, 40760454)
16909
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 1033518405, 'Shop', 980190962, 1033518405)
16910
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16911
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 258259918)
16912
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 412842077)
16913
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 599072141)
16914
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 229906743)
16915
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 372698694)
16916
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 40760454)
16917
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:03:25', '2017-04-25 01:03:25', 1033518405)
16918
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16919
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:03:25', '2017-04-25 01:03:25', 980190962)
16920
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:03:25', '2017-04-25 01:03:25', 298486374)
16921
+ Fixture Delete (0.1ms) DELETE FROM "shops"
16922
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:03:25', '2017-04-25 01:03:25', 980190962)
16923
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:03:25', '2017-04-25 01:03:25', 298486374)
16924
+  (67.1ms) commit transaction
16925
+  (0.3ms) begin transaction
16926
+ -----------------------------------------------------
16927
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
16928
+ -----------------------------------------------------
16929
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16930
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16931
+  (0.1ms) rollback transaction
16932
+  (0.1ms) begin transaction
16933
+ --------------------------------------------------------------
16934
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
16935
+ --------------------------------------------------------------
16936
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16937
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16938
+  (0.1ms) rollback transaction
16939
+  (0.2ms) begin transaction
16940
+ ----------------------------------------------
16941
+ Extface::Driver::Datecs::Fp550Test: test_fsend
16942
+ ----------------------------------------------
16943
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16944
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16945
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
16946
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16947
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16948
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
16949
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
16950
+  (0.2ms) rollback transaction
16951
+  (0.1ms) begin transaction
16952
+ -----------------------------------------------
16953
+ Extface::Driver::Datecs::Fp550Test: test_handle
16954
+ -----------------------------------------------
16955
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16956
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16957
+  (0.1ms) rollback transaction
16958
+  (0.2ms) begin transaction
16959
+ -------------------------------------------------------
16960
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
16961
+ -------------------------------------------------------
16962
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
16963
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
16964
+  (0.1ms) rollback transaction
16965
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16966
+  (87.8ms) DROP TABLE "extface_devices"
16967
+  (70.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
16968
+  (64.6ms) DROP TABLE "extface_drivers"
16969
+  (76.8ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
16970
+  (72.9ms) DROP TABLE "extface_jobs"
16971
+  (82.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
16972
+  (0.2ms) select sqlite_version(*)
16973
+  (81.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
16974
+  (63.7ms) DROP TABLE "extface_serial_configs"
16975
+  (73.7ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
16976
+  (72.3ms) DROP TABLE "shops"
16977
+  (79.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
16978
+  (0.2ms) SELECT version FROM "schema_migrations"
16979
+  (0.1ms) begin transaction
16980
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
16981
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:03:49', '2017-04-25 01:03:49', 980190962, 258259918)
16982
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:03:49', '2017-04-25 01:03:49', 298486374, 599072141)
16983
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
16984
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 980190962, 'Shop', 980190962, 258259918)
16985
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 298486374, 'Shop', 980190962, 599072141)
16986
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 229906743, 'Shop', 980190962, 229906743)
16987
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 372698694, 'Shop', 980190962, 372698694)
16988
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 40760454, 'Shop', 980190962, 40760454)
16989
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 1033518405, 'Shop', 980190962, 1033518405)
16990
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
16991
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 258259918)
16992
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 412842077)
16993
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 599072141)
16994
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 229906743)
16995
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 372698694)
16996
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 40760454)
16997
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:03:49', '2017-04-25 01:03:49', 1033518405)
16998
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
16999
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:03:49', '2017-04-25 01:03:49', 980190962)
17000
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:03:49', '2017-04-25 01:03:49', 298486374)
17001
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17002
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:03:49', '2017-04-25 01:03:49', 980190962)
17003
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:03:49', '2017-04-25 01:03:49', 298486374)
17004
+  (64.1ms) commit transaction
17005
+  (0.2ms) begin transaction
17006
+ -----------------------------------------------------
17007
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17008
+ -----------------------------------------------------
17009
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17010
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17011
+  (0.1ms) rollback transaction
17012
+  (0.1ms) begin transaction
17013
+ --------------------------------------------------------------
17014
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
17015
+ --------------------------------------------------------------
17016
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17017
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17018
+  (0.1ms) rollback transaction
17019
+  (0.1ms) begin transaction
17020
+ ----------------------------------------------
17021
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17022
+ ----------------------------------------------
17023
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17024
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17025
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17026
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17027
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17028
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17029
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17030
+  (0.1ms) rollback transaction
17031
+  (0.1ms) begin transaction
17032
+ -----------------------------------------------
17033
+ Extface::Driver::Datecs::Fp550Test: test_handle
17034
+ -----------------------------------------------
17035
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17036
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17037
+  (0.1ms) rollback transaction
17038
+  (0.1ms) begin transaction
17039
+ -------------------------------------------------------
17040
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17041
+ -------------------------------------------------------
17042
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17043
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17044
+  (0.1ms) rollback transaction
17045
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17046
+  (111.2ms) DROP TABLE "extface_devices"
17047
+  (89.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17048
+  (90.2ms) DROP TABLE "extface_drivers"
17049
+  (81.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17050
+  (73.3ms) DROP TABLE "extface_jobs"
17051
+  (82.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17052
+  (0.1ms) select sqlite_version(*)
17053
+  (81.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17054
+  (105.4ms) DROP TABLE "extface_serial_configs"
17055
+  (81.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17056
+  (73.4ms) DROP TABLE "shops"
17057
+  (65.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17058
+  (0.1ms) SELECT version FROM "schema_migrations"
17059
+  (0.1ms) begin transaction
17060
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17061
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:04:40', '2017-04-25 01:04:40', 980190962, 258259918)
17062
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:04:40', '2017-04-25 01:04:40', 298486374, 599072141)
17063
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17064
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 980190962, 'Shop', 980190962, 258259918)
17065
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 298486374, 'Shop', 980190962, 599072141)
17066
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 229906743, 'Shop', 980190962, 229906743)
17067
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 372698694, 'Shop', 980190962, 372698694)
17068
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 40760454, 'Shop', 980190962, 40760454)
17069
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 1033518405, 'Shop', 980190962, 1033518405)
17070
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17071
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 258259918)
17072
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 412842077)
17073
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 599072141)
17074
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 229906743)
17075
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 372698694)
17076
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 40760454)
17077
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:04:40', '2017-04-25 01:04:40', 1033518405)
17078
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17079
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:04:40', '2017-04-25 01:04:40', 980190962)
17080
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:04:40', '2017-04-25 01:04:40', 298486374)
17081
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17082
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:04:40', '2017-04-25 01:04:40', 980190962)
17083
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:04:40', '2017-04-25 01:04:40', 298486374)
17084
+  (58.3ms) commit transaction
17085
+  (0.1ms) begin transaction
17086
+ -----------------------------------------------------
17087
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17088
+ -----------------------------------------------------
17089
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17090
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17091
+  (0.1ms) rollback transaction
17092
+  (0.1ms) begin transaction
17093
+ --------------------------------------------------------------
17094
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
17095
+ --------------------------------------------------------------
17096
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17097
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17098
+  (0.1ms) rollback transaction
17099
+  (0.1ms) begin transaction
17100
+ ----------------------------------------------
17101
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17102
+ ----------------------------------------------
17103
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17104
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17105
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17106
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17107
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17108
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17109
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17110
+  (0.1ms) rollback transaction
17111
+  (0.1ms) begin transaction
17112
+ -----------------------------------------------
17113
+ Extface::Driver::Datecs::Fp550Test: test_handle
17114
+ -----------------------------------------------
17115
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17116
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17117
+  (0.1ms) rollback transaction
17118
+  (0.2ms) begin transaction
17119
+ -------------------------------------------------------
17120
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17121
+ -------------------------------------------------------
17122
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17123
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17124
+  (0.1ms) rollback transaction
17125
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17126
+  (91.3ms) DROP TABLE "extface_devices"
17127
+  (73.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17128
+  (86.0ms) DROP TABLE "extface_drivers"
17129
+  (76.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17130
+  (65.0ms) DROP TABLE "extface_jobs"
17131
+  (74.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17132
+  (0.3ms) select sqlite_version(*)
17133
+  (72.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17134
+  (64.0ms) DROP TABLE "extface_serial_configs"
17135
+  (73.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17136
+  (65.0ms) DROP TABLE "shops"
17137
+  (73.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17138
+  (0.1ms) SELECT version FROM "schema_migrations"
17139
+  (0.1ms) begin transaction
17140
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
17141
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:05:44', '2017-04-25 01:05:44', 980190962, 258259918)
17142
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:05:44', '2017-04-25 01:05:44', 298486374, 599072141)
17143
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17144
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 980190962, 'Shop', 980190962, 258259918)
17145
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 298486374, 'Shop', 980190962, 599072141)
17146
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 229906743, 'Shop', 980190962, 229906743)
17147
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 372698694, 'Shop', 980190962, 372698694)
17148
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 40760454, 'Shop', 980190962, 40760454)
17149
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 1033518405, 'Shop', 980190962, 1033518405)
17150
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17151
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 258259918)
17152
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 412842077)
17153
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 599072141)
17154
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 229906743)
17155
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 372698694)
17156
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 40760454)
17157
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:05:44', '2017-04-25 01:05:44', 1033518405)
17158
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17159
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:05:44', '2017-04-25 01:05:44', 980190962)
17160
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:05:44', '2017-04-25 01:05:44', 298486374)
17161
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17162
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:05:44', '2017-04-25 01:05:44', 980190962)
17163
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:05:44', '2017-04-25 01:05:44', 298486374)
17164
+  (67.0ms) commit transaction
17165
+  (0.1ms) begin transaction
17166
+ -----------------------------------------------------
17167
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17168
+ -----------------------------------------------------
17169
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17170
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17171
+  (0.1ms) rollback transaction
17172
+  (0.1ms) begin transaction
17173
+ --------------------------------------------------------------
17174
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
17175
+ --------------------------------------------------------------
17176
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17177
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17178
+  (0.2ms) rollback transaction
17179
+  (0.1ms) begin transaction
17180
+ ----------------------------------------------
17181
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17182
+ ----------------------------------------------
17183
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17184
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17185
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17186
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17187
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17188
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17189
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17190
+  (0.2ms) rollback transaction
17191
+  (0.1ms) begin transaction
17192
+ -----------------------------------------------
17193
+ Extface::Driver::Datecs::Fp550Test: test_handle
17194
+ -----------------------------------------------
17195
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17196
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17197
+  (0.1ms) rollback transaction
17198
+  (0.1ms) begin transaction
17199
+ -------------------------------------------------------
17200
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17201
+ -------------------------------------------------------
17202
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17203
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17204
+  (0.1ms) rollback transaction
17205
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17206
+  (62.8ms) DROP TABLE "extface_devices"
17207
+  (89.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17208
+  (113.9ms) DROP TABLE "extface_drivers"
17209
+  (106.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17210
+  (171.8ms) DROP TABLE "extface_jobs"
17211
+  (70.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17212
+  (0.2ms) select sqlite_version(*)
17213
+  (72.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17214
+  (58.0ms) DROP TABLE "extface_serial_configs"
17215
+  (62.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17216
+  (68.2ms) DROP TABLE "shops"
17217
+  (61.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17218
+  (0.2ms) SELECT version FROM "schema_migrations"
17219
+  (0.1ms) begin transaction
17220
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17221
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:06:14', '2017-04-25 01:06:14', 980190962, 258259918)
17222
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:06:14', '2017-04-25 01:06:14', 298486374, 599072141)
17223
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17224
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 980190962, 'Shop', 980190962, 258259918)
17225
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 298486374, 'Shop', 980190962, 599072141)
17226
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 229906743, 'Shop', 980190962, 229906743)
17227
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 372698694, 'Shop', 980190962, 372698694)
17228
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 40760454, 'Shop', 980190962, 40760454)
17229
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 1033518405, 'Shop', 980190962, 1033518405)
17230
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17231
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 258259918)
17232
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 412842077)
17233
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 599072141)
17234
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 229906743)
17235
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 372698694)
17236
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 40760454)
17237
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:06:14', '2017-04-25 01:06:14', 1033518405)
17238
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17239
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:06:14', '2017-04-25 01:06:14', 980190962)
17240
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:06:14', '2017-04-25 01:06:14', 298486374)
17241
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17242
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:06:14', '2017-04-25 01:06:14', 980190962)
17243
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:06:14', '2017-04-25 01:06:14', 298486374)
17244
+  (75.7ms) commit transaction
17245
+  (0.2ms) begin transaction
17246
+ -----------------------------------------------------
17247
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17248
+ -----------------------------------------------------
17249
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17250
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17251
+  (0.1ms) rollback transaction
17252
+  (0.0ms) begin transaction
17253
+ --------------------------------------------------------------
17254
+ Extface::Driver::Datecs::Fp550Test: test_build_packet_encoding
17255
+ --------------------------------------------------------------
17256
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17257
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17258
+  (0.2ms) rollback transaction
17259
+  (0.1ms) begin transaction
17260
+ ----------------------------------------------
17261
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17262
+ ----------------------------------------------
17263
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17264
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17265
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17266
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17267
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17268
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17269
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17270
+  (0.1ms) rollback transaction
17271
+  (0.1ms) begin transaction
17272
+ -----------------------------------------------
17273
+ Extface::Driver::Datecs::Fp550Test: test_handle
17274
+ -----------------------------------------------
17275
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17276
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17277
+  (0.1ms) rollback transaction
17278
+  (0.2ms) begin transaction
17279
+ -------------------------------------------------------
17280
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17281
+ -------------------------------------------------------
17282
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17283
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17284
+  (0.2ms) rollback transaction
17285
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17286
+  (102.9ms) DROP TABLE "extface_devices"
17287
+  (62.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17288
+  (80.4ms) DROP TABLE "extface_drivers"
17289
+  (81.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17290
+  (68.0ms) DROP TABLE "extface_jobs"
17291
+  (78.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17292
+  (0.2ms) select sqlite_version(*)
17293
+  (67.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17294
+  (64.9ms) DROP TABLE "extface_serial_configs"
17295
+  (70.9ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17296
+  (75.7ms) DROP TABLE "shops"
17297
+  (70.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17298
+  (0.1ms) SELECT version FROM "schema_migrations"
17299
+  (0.1ms) begin transaction
17300
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17301
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:09:34', '2017-04-25 01:09:34', 980190962, 258259918)
17302
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:09:34', '2017-04-25 01:09:34', 298486374, 599072141)
17303
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17304
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 980190962, 'Shop', 980190962, 258259918)
17305
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 298486374, 'Shop', 980190962, 599072141)
17306
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 229906743, 'Shop', 980190962, 229906743)
17307
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 372698694, 'Shop', 980190962, 372698694)
17308
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 40760454, 'Shop', 980190962, 40760454)
17309
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 1033518405, 'Shop', 980190962, 1033518405)
17310
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17311
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 258259918)
17312
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 412842077)
17313
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 599072141)
17314
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 229906743)
17315
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 372698694)
17316
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 40760454)
17317
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:09:34', '2017-04-25 01:09:34', 1033518405)
17318
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17319
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:09:34', '2017-04-25 01:09:34', 980190962)
17320
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:09:34', '2017-04-25 01:09:34', 298486374)
17321
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17322
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:09:34', '2017-04-25 01:09:34', 980190962)
17323
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:09:34', '2017-04-25 01:09:34', 298486374)
17324
+  (67.4ms) commit transaction
17325
+  (0.1ms) begin transaction
17326
+ -----------------------------------------------------
17327
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17328
+ -----------------------------------------------------
17329
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17330
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17331
+  (0.1ms) rollback transaction
17332
+  (0.1ms) begin transaction
17333
+ -----------------------------------------------------------------
17334
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
17335
+ -----------------------------------------------------------------
17336
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17337
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17338
+  (0.1ms) rollback transaction
17339
+  (0.1ms) begin transaction
17340
+ ----------------------------------------------
17341
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17342
+ ----------------------------------------------
17343
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17344
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17345
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17346
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17347
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17348
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17349
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17350
+  (0.2ms) rollback transaction
17351
+  (0.3ms) begin transaction
17352
+ -----------------------------------------------
17353
+ Extface::Driver::Datecs::Fp550Test: test_handle
17354
+ -----------------------------------------------
17355
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17356
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17357
+  (0.1ms) rollback transaction
17358
+  (0.1ms) begin transaction
17359
+ -------------------------------------------------------
17360
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17361
+ -------------------------------------------------------
17362
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17363
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17364
+  (0.1ms) rollback transaction
17365
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17366
+  (129.1ms) DROP TABLE "extface_devices"
17367
+  (89.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17368
+  (70.9ms) DROP TABLE "extface_drivers"
17369
+  (82.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17370
+  (83.2ms) DROP TABLE "extface_jobs"
17371
+  (70.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17372
+  (0.3ms) select sqlite_version(*)
17373
+  (72.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17374
+  (67.3ms) DROP TABLE "extface_serial_configs"
17375
+  (70.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17376
+  (67.2ms) DROP TABLE "shops"
17377
+  (71.1ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17378
+  (0.3ms) SELECT version FROM "schema_migrations"
17379
+  (0.1ms) begin transaction
17380
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17381
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:10:15', '2017-04-25 01:10:15', 980190962, 258259918)
17382
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:10:15', '2017-04-25 01:10:15', 298486374, 599072141)
17383
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
17384
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 980190962, 'Shop', 980190962, 258259918)
17385
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 298486374, 'Shop', 980190962, 599072141)
17386
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 229906743, 'Shop', 980190962, 229906743)
17387
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 372698694, 'Shop', 980190962, 372698694)
17388
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 40760454, 'Shop', 980190962, 40760454)
17389
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 1033518405, 'Shop', 980190962, 1033518405)
17390
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17391
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 258259918)
17392
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 412842077)
17393
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 599072141)
17394
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 229906743)
17395
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 372698694)
17396
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 40760454)
17397
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:10:15', '2017-04-25 01:10:15', 1033518405)
17398
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17399
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:10:15', '2017-04-25 01:10:15', 980190962)
17400
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:10:15', '2017-04-25 01:10:15', 298486374)
17401
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17402
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:10:15', '2017-04-25 01:10:15', 980190962)
17403
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:10:15', '2017-04-25 01:10:15', 298486374)
17404
+  (79.5ms) commit transaction
17405
+  (0.2ms) begin transaction
17406
+ -----------------------------------------------------
17407
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17408
+ -----------------------------------------------------
17409
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17410
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17411
+  (0.1ms) rollback transaction
17412
+  (0.1ms) begin transaction
17413
+ -----------------------------------------------------------------
17414
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
17415
+ -----------------------------------------------------------------
17416
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17417
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17418
+  (0.1ms) rollback transaction
17419
+  (0.1ms) begin transaction
17420
+ ----------------------------------------------
17421
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17422
+ ----------------------------------------------
17423
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17424
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17425
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17426
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17427
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17428
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17429
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17430
+  (0.1ms) rollback transaction
17431
+  (0.1ms) begin transaction
17432
+ -----------------------------------------------
17433
+ Extface::Driver::Datecs::Fp550Test: test_handle
17434
+ -----------------------------------------------
17435
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17436
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17437
+  (0.1ms) rollback transaction
17438
+  (0.1ms) begin transaction
17439
+ -------------------------------------------------------
17440
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17441
+ -------------------------------------------------------
17442
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17443
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17444
+  (0.1ms) rollback transaction
17445
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17446
+  (125.6ms) DROP TABLE "extface_devices"
17447
+  (103.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17448
+  (105.4ms) DROP TABLE "extface_drivers"
17449
+  (84.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17450
+  (56.7ms) DROP TABLE "extface_jobs"
17451
+  (62.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17452
+  (0.3ms) select sqlite_version(*)
17453
+  (63.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17454
+  (68.4ms) DROP TABLE "extface_serial_configs"
17455
+  (70.7ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17456
+  (68.7ms) DROP TABLE "shops"
17457
+  (70.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17458
+  (0.1ms) SELECT version FROM "schema_migrations"
17459
+  (0.1ms) begin transaction
17460
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17461
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:11:20', '2017-04-25 01:11:20', 980190962, 258259918)
17462
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:11:20', '2017-04-25 01:11:20', 298486374, 599072141)
17463
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17464
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 980190962, 'Shop', 980190962, 258259918)
17465
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 298486374, 'Shop', 980190962, 599072141)
17466
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 229906743, 'Shop', 980190962, 229906743)
17467
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 372698694, 'Shop', 980190962, 372698694)
17468
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 40760454, 'Shop', 980190962, 40760454)
17469
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 1033518405, 'Shop', 980190962, 1033518405)
17470
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17471
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 258259918)
17472
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 412842077)
17473
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 599072141)
17474
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 229906743)
17475
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 372698694)
17476
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 40760454)
17477
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:11:20', '2017-04-25 01:11:20', 1033518405)
17478
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17479
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:11:20', '2017-04-25 01:11:20', 980190962)
17480
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:11:20', '2017-04-25 01:11:20', 298486374)
17481
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17482
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:11:20', '2017-04-25 01:11:20', 980190962)
17483
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:11:20', '2017-04-25 01:11:20', 298486374)
17484
+  (75.2ms) commit transaction
17485
+  (0.1ms) begin transaction
17486
+ -----------------------------------------------------
17487
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17488
+ -----------------------------------------------------
17489
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17490
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17491
+  (0.1ms) rollback transaction
17492
+  (0.1ms) begin transaction
17493
+ -----------------------------------------------------------------
17494
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
17495
+ -----------------------------------------------------------------
17496
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17497
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17498
+  (0.1ms) rollback transaction
17499
+  (0.1ms) begin transaction
17500
+ ----------------------------------------------
17501
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17502
+ ----------------------------------------------
17503
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17504
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17505
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17506
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17507
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17508
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17509
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17510
+  (0.2ms) rollback transaction
17511
+  (0.2ms) begin transaction
17512
+ -----------------------------------------------
17513
+ Extface::Driver::Datecs::Fp550Test: test_handle
17514
+ -----------------------------------------------
17515
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17516
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17517
+  (0.1ms) rollback transaction
17518
+  (0.1ms) begin transaction
17519
+ -------------------------------------------------------
17520
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17521
+ -------------------------------------------------------
17522
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17523
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17524
+  (0.1ms) rollback transaction
17525
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17526
+  (92.2ms) DROP TABLE "extface_devices"
17527
+  (62.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17528
+  (63.4ms) DROP TABLE "extface_drivers"
17529
+  (76.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17530
+  (56.9ms) DROP TABLE "extface_jobs"
17531
+  (82.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17532
+  (0.1ms) select sqlite_version(*)
17533
+  (78.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17534
+  (66.8ms) DROP TABLE "extface_serial_configs"
17535
+  (82.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17536
+  (80.5ms) DROP TABLE "shops"
17537
+  (90.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17538
+  (0.3ms) SELECT version FROM "schema_migrations"
17539
+  (0.1ms) begin transaction
17540
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17541
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:12:01', '2017-04-25 01:12:01', 980190962, 258259918)
17542
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:12:01', '2017-04-25 01:12:01', 298486374, 599072141)
17543
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17544
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 980190962, 'Shop', 980190962, 258259918)
17545
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 298486374, 'Shop', 980190962, 599072141)
17546
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 229906743, 'Shop', 980190962, 229906743)
17547
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 372698694, 'Shop', 980190962, 372698694)
17548
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 40760454, 'Shop', 980190962, 40760454)
17549
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 1033518405, 'Shop', 980190962, 1033518405)
17550
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17551
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 258259918)
17552
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 412842077)
17553
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 599072141)
17554
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 229906743)
17555
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 372698694)
17556
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 40760454)
17557
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:12:01', '2017-04-25 01:12:01', 1033518405)
17558
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17559
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:12:01', '2017-04-25 01:12:01', 980190962)
17560
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:12:01', '2017-04-25 01:12:01', 298486374)
17561
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17562
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:12:01', '2017-04-25 01:12:01', 980190962)
17563
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:12:01', '2017-04-25 01:12:01', 298486374)
17564
+  (75.7ms) commit transaction
17565
+  (0.1ms) begin transaction
17566
+ -----------------------------------------------------
17567
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17568
+ -----------------------------------------------------
17569
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17570
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17571
+  (0.1ms) rollback transaction
17572
+  (0.1ms) begin transaction
17573
+ -----------------------------------------------------------------
17574
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
17575
+ -----------------------------------------------------------------
17576
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17577
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17578
+  (0.2ms) rollback transaction
17579
+  (0.1ms) begin transaction
17580
+ ----------------------------------------------
17581
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17582
+ ----------------------------------------------
17583
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17584
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17585
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17586
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17587
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17588
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17589
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17590
+  (0.3ms) rollback transaction
17591
+  (0.2ms) begin transaction
17592
+ -----------------------------------------------
17593
+ Extface::Driver::Datecs::Fp550Test: test_handle
17594
+ -----------------------------------------------
17595
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17596
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17597
+  (0.1ms) rollback transaction
17598
+  (0.1ms) begin transaction
17599
+ -------------------------------------------------------
17600
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17601
+ -------------------------------------------------------
17602
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17603
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17604
+  (0.1ms) rollback transaction
17605
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17606
+  (99.7ms) DROP TABLE "extface_devices"
17607
+  (81.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17608
+  (110.8ms) DROP TABLE "extface_drivers"
17609
+  (92.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17610
+  (65.2ms) DROP TABLE "extface_jobs"
17611
+  (87.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17612
+  (0.1ms) select sqlite_version(*)
17613
+  (92.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17614
+  (63.8ms) DROP TABLE "extface_serial_configs"
17615
+  (90.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17616
+  (73.3ms) DROP TABLE "shops"
17617
+  (87.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17618
+  (0.3ms) SELECT version FROM "schema_migrations"
17619
+  (0.1ms) begin transaction
17620
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17621
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:12:26', '2017-04-25 01:12:26', 980190962, 258259918)
17622
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:12:26', '2017-04-25 01:12:26', 298486374, 599072141)
17623
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17624
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 980190962, 'Shop', 980190962, 258259918)
17625
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 298486374, 'Shop', 980190962, 599072141)
17626
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 229906743, 'Shop', 980190962, 229906743)
17627
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 372698694, 'Shop', 980190962, 372698694)
17628
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 40760454, 'Shop', 980190962, 40760454)
17629
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 1033518405, 'Shop', 980190962, 1033518405)
17630
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17631
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 258259918)
17632
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 412842077)
17633
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 599072141)
17634
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 229906743)
17635
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 372698694)
17636
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 40760454)
17637
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:12:26', '2017-04-25 01:12:26', 1033518405)
17638
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17639
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:12:26', '2017-04-25 01:12:26', 980190962)
17640
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:12:26', '2017-04-25 01:12:26', 298486374)
17641
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17642
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:12:26', '2017-04-25 01:12:26', 980190962)
17643
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:12:26', '2017-04-25 01:12:26', 298486374)
17644
+  (74.7ms) commit transaction
17645
+  (0.2ms) begin transaction
17646
+ -----------------------------------------------------
17647
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17648
+ -----------------------------------------------------
17649
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17650
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17651
+  (0.1ms) rollback transaction
17652
+  (0.1ms) begin transaction
17653
+ -----------------------------------------------------------------
17654
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
17655
+ -----------------------------------------------------------------
17656
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17657
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17658
+  (0.1ms) rollback transaction
17659
+  (0.1ms) begin transaction
17660
+ ----------------------------------------------
17661
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17662
+ ----------------------------------------------
17663
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17664
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17665
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17666
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17667
+ Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17668
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17669
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17670
+  (0.4ms) rollback transaction
17671
+  (0.2ms) begin transaction
17672
+ -----------------------------------------------
17673
+ Extface::Driver::Datecs::Fp550Test: test_handle
17674
+ -----------------------------------------------
17675
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17676
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17677
+  (0.1ms) rollback transaction
17678
+  (0.1ms) begin transaction
17679
+ -------------------------------------------------------
17680
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17681
+ -------------------------------------------------------
17682
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17683
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17684
+  (0.1ms) rollback transaction
17685
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17686
+  (151.8ms) DROP TABLE "extface_devices"
17687
+  (103.6ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17688
+  (83.1ms) DROP TABLE "extface_drivers"
17689
+  (89.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17690
+  (73.2ms) DROP TABLE "extface_jobs"
17691
+  (90.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17692
+  (0.2ms) select sqlite_version(*)
17693
+  (80.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17694
+  (73.3ms) DROP TABLE "extface_serial_configs"
17695
+  (78.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17696
+  (68.2ms) DROP TABLE "shops"
17697
+  (82.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17698
+  (0.1ms) SELECT version FROM "schema_migrations"
17699
+  (0.1ms) begin transaction
17700
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17701
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:14:20', '2017-04-25 01:14:20', 980190962, 258259918)
17702
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:14:20', '2017-04-25 01:14:20', 298486374, 599072141)
17703
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17704
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 980190962, 'Shop', 980190962, 258259918)
17705
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 298486374, 'Shop', 980190962, 599072141)
17706
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 229906743, 'Shop', 980190962, 229906743)
17707
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 372698694, 'Shop', 980190962, 372698694)
17708
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 40760454, 'Shop', 980190962, 40760454)
17709
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 1033518405, 'Shop', 980190962, 1033518405)
17710
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17711
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 258259918)
17712
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 412842077)
17713
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 599072141)
17714
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 229906743)
17715
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 372698694)
17716
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 40760454)
17717
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:14:20', '2017-04-25 01:14:20', 1033518405)
17718
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17719
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:14:20', '2017-04-25 01:14:20', 980190962)
17720
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:14:20', '2017-04-25 01:14:20', 298486374)
17721
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17722
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:14:20', '2017-04-25 01:14:20', 980190962)
17723
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:14:20', '2017-04-25 01:14:20', 298486374)
17724
+  (73.6ms) commit transaction
17725
+  (0.2ms) begin transaction
17726
+ -----------------------------------------------------
17727
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17728
+ -----------------------------------------------------
17729
+ Extface::Driver Load (0.6ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17730
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17731
+  (0.1ms) rollback transaction
17732
+  (0.0ms) begin transaction
17733
+ -----------------------------------------------------------------
17734
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
17735
+ -----------------------------------------------------------------
17736
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17737
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17738
+  (0.2ms) rollback transaction
17739
+  (0.1ms) begin transaction
17740
+ ----------------------------------------------
17741
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17742
+ ----------------------------------------------
17743
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17744
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17745
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17746
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17747
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17748
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17749
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17750
+  (0.1ms) rollback transaction
17751
+  (0.1ms) begin transaction
17752
+ -----------------------------------------------
17753
+ Extface::Driver::Datecs::Fp550Test: test_handle
17754
+ -----------------------------------------------
17755
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17756
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17757
+  (0.1ms) rollback transaction
17758
+  (0.1ms) begin transaction
17759
+ -------------------------------------------------------
17760
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17761
+ -------------------------------------------------------
17762
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17763
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17764
+  (0.1ms) rollback transaction
17765
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17766
+  (97.2ms) DROP TABLE "extface_devices"
17767
+  (81.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17768
+  (81.7ms) DROP TABLE "extface_drivers"
17769
+  (82.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17770
+  (72.3ms) DROP TABLE "extface_jobs"
17771
+  (74.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17772
+  (0.3ms) select sqlite_version(*)
17773
+  (71.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17774
+  (88.9ms) DROP TABLE "extface_serial_configs"
17775
+  (78.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17776
+  (59.8ms) DROP TABLE "shops"
17777
+  (87.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17778
+  (0.5ms) SELECT version FROM "schema_migrations"
17779
+  (0.1ms) begin transaction
17780
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17781
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:14:54', '2017-04-25 01:14:54', 980190962, 258259918)
17782
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:14:54', '2017-04-25 01:14:54', 298486374, 599072141)
17783
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17784
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 980190962, 'Shop', 980190962, 258259918)
17785
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 298486374, 'Shop', 980190962, 599072141)
17786
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 229906743, 'Shop', 980190962, 229906743)
17787
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 372698694, 'Shop', 980190962, 372698694)
17788
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 40760454, 'Shop', 980190962, 40760454)
17789
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 1033518405, 'Shop', 980190962, 1033518405)
17790
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17791
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 258259918)
17792
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 412842077)
17793
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 599072141)
17794
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 229906743)
17795
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 372698694)
17796
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 40760454)
17797
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:14:54', '2017-04-25 01:14:54', 1033518405)
17798
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17799
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:14:54', '2017-04-25 01:14:54', 980190962)
17800
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:14:54', '2017-04-25 01:14:54', 298486374)
17801
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17802
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:14:54', '2017-04-25 01:14:54', 980190962)
17803
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:14:54', '2017-04-25 01:14:54', 298486374)
17804
+  (99.7ms) commit transaction
17805
+  (0.1ms) begin transaction
17806
+ -----------------------------------------------------
17807
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17808
+ -----------------------------------------------------
17809
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17810
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17811
+  (0.1ms) rollback transaction
17812
+  (0.1ms) begin transaction
17813
+ -----------------------------------------------------------------
17814
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
17815
+ -----------------------------------------------------------------
17816
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17817
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17818
+  (0.1ms) rollback transaction
17819
+  (0.0ms) begin transaction
17820
+ ----------------------------------------------
17821
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17822
+ ----------------------------------------------
17823
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17824
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17825
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17826
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17827
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17828
+ Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17829
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17830
+  (0.3ms) rollback transaction
17831
+  (0.1ms) begin transaction
17832
+ -----------------------------------------------
17833
+ Extface::Driver::Datecs::Fp550Test: test_handle
17834
+ -----------------------------------------------
17835
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17836
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17837
+  (0.1ms) rollback transaction
17838
+  (0.1ms) begin transaction
17839
+ -------------------------------------------------------
17840
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17841
+ -------------------------------------------------------
17842
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17843
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17844
+  (0.1ms) rollback transaction
17845
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17846
+  (81.4ms) DROP TABLE "extface_devices"
17847
+  (70.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17848
+  (83.6ms) DROP TABLE "extface_drivers"
17849
+  (81.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17850
+  (81.1ms) DROP TABLE "extface_jobs"
17851
+  (62.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17852
+  (0.1ms) select sqlite_version(*)
17853
+  (73.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17854
+  (59.1ms) DROP TABLE "extface_serial_configs"
17855
+  (73.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17856
+  (72.4ms) DROP TABLE "shops"
17857
+  (62.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17858
+  (0.3ms) SELECT version FROM "schema_migrations"
17859
+  (0.1ms) begin transaction
17860
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17861
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:15:44', '2017-04-25 01:15:44', 980190962, 258259918)
17862
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:15:44', '2017-04-25 01:15:44', 298486374, 599072141)
17863
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17864
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 980190962, 'Shop', 980190962, 258259918)
17865
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 298486374, 'Shop', 980190962, 599072141)
17866
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 229906743, 'Shop', 980190962, 229906743)
17867
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 372698694, 'Shop', 980190962, 372698694)
17868
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 40760454, 'Shop', 980190962, 40760454)
17869
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 1033518405, 'Shop', 980190962, 1033518405)
17870
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17871
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 258259918)
17872
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 412842077)
17873
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 599072141)
17874
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 229906743)
17875
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 372698694)
17876
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 40760454)
17877
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:15:44', '2017-04-25 01:15:44', 1033518405)
17878
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17879
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:15:44', '2017-04-25 01:15:44', 980190962)
17880
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:15:44', '2017-04-25 01:15:44', 298486374)
17881
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17882
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:15:44', '2017-04-25 01:15:44', 980190962)
17883
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:15:44', '2017-04-25 01:15:44', 298486374)
17884
+  (68.3ms) commit transaction
17885
+  (0.1ms) begin transaction
17886
+ -----------------------------------------------------
17887
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17888
+ -----------------------------------------------------
17889
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17890
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17891
+  (0.1ms) rollback transaction
17892
+  (0.1ms) begin transaction
17893
+ -----------------------------------------------------------------
17894
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
17895
+ -----------------------------------------------------------------
17896
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17897
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17898
+  (0.2ms) rollback transaction
17899
+  (0.1ms) begin transaction
17900
+ ----------------------------------------------
17901
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17902
+ ----------------------------------------------
17903
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17904
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17905
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17906
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17907
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17908
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17909
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17910
+  (0.2ms) rollback transaction
17911
+  (0.2ms) begin transaction
17912
+ -----------------------------------------------
17913
+ Extface::Driver::Datecs::Fp550Test: test_handle
17914
+ -----------------------------------------------
17915
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17916
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17917
+  (0.2ms) rollback transaction
17918
+  (0.1ms) begin transaction
17919
+ -------------------------------------------------------
17920
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
17921
+ -------------------------------------------------------
17922
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17923
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17924
+  (0.1ms) rollback transaction
17925
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17926
+  (107.0ms) DROP TABLE "extface_devices"
17927
+  (62.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
17928
+  (57.1ms) DROP TABLE "extface_drivers"
17929
+  (65.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
17930
+  (59.9ms) DROP TABLE "extface_jobs"
17931
+  (69.8ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
17932
+  (0.1ms) select sqlite_version(*)
17933
+  (65.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
17934
+  (60.0ms) DROP TABLE "extface_serial_configs"
17935
+  (70.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
17936
+  (60.3ms) DROP TABLE "shops"
17937
+  (81.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
17938
+  (0.1ms) SELECT version FROM "schema_migrations"
17939
+  (0.1ms) begin transaction
17940
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
17941
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:16:31', '2017-04-25 01:16:31', 980190962, 258259918)
17942
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:16:31', '2017-04-25 01:16:31', 298486374, 599072141)
17943
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
17944
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 980190962, 'Shop', 980190962, 258259918)
17945
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 298486374, 'Shop', 980190962, 599072141)
17946
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 229906743, 'Shop', 980190962, 229906743)
17947
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 372698694, 'Shop', 980190962, 372698694)
17948
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 40760454, 'Shop', 980190962, 40760454)
17949
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 1033518405, 'Shop', 980190962, 1033518405)
17950
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
17951
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 258259918)
17952
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 412842077)
17953
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 599072141)
17954
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 229906743)
17955
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 372698694)
17956
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 40760454)
17957
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:16:31', '2017-04-25 01:16:31', 1033518405)
17958
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
17959
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:16:31', '2017-04-25 01:16:31', 980190962)
17960
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:16:31', '2017-04-25 01:16:31', 298486374)
17961
+ Fixture Delete (0.1ms) DELETE FROM "shops"
17962
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:16:31', '2017-04-25 01:16:31', 980190962)
17963
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:16:31', '2017-04-25 01:16:31', 298486374)
17964
+  (62.8ms) commit transaction
17965
+  (0.1ms) begin transaction
17966
+ -----------------------------------------------------
17967
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
17968
+ -----------------------------------------------------
17969
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17970
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17971
+  (0.1ms) rollback transaction
17972
+  (0.1ms) begin transaction
17973
+ -----------------------------------------------------------------
17974
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
17975
+ -----------------------------------------------------------------
17976
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17977
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17978
+  (0.1ms) rollback transaction
17979
+  (0.1ms) begin transaction
17980
+ ----------------------------------------------
17981
+ Extface::Driver::Datecs::Fp550Test: test_fsend
17982
+ ----------------------------------------------
17983
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17984
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17985
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
17986
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17987
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17988
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
17989
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
17990
+  (0.2ms) rollback transaction
17991
+  (0.2ms) begin transaction
17992
+ -----------------------------------------------
17993
+ Extface::Driver::Datecs::Fp550Test: test_handle
17994
+ -----------------------------------------------
17995
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
17996
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
17997
+  (0.1ms) rollback transaction
17998
+  (0.1ms) begin transaction
17999
+ -------------------------------------------------------
18000
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
18001
+ -------------------------------------------------------
18002
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18003
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18004
+  (0.1ms) rollback transaction
18005
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18006
+  (126.3ms) DROP TABLE "extface_devices"
18007
+  (70.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
18008
+  (56.6ms) DROP TABLE "extface_drivers"
18009
+  (57.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
18010
+  (117.3ms) DROP TABLE "extface_jobs"
18011
+  (61.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
18012
+  (0.1ms) select sqlite_version(*)
18013
+  (56.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
18014
+  (51.7ms) DROP TABLE "extface_serial_configs"
18015
+  (70.7ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
18016
+  (67.9ms) DROP TABLE "shops"
18017
+  (62.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
18018
+  (0.4ms) SELECT version FROM "schema_migrations"
18019
+  (0.1ms) begin transaction
18020
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
18021
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:17:22', '2017-04-25 01:17:22', 980190962, 258259918)
18022
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:17:22', '2017-04-25 01:17:22', 298486374, 599072141)
18023
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
18024
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 980190962, 'Shop', 980190962, 258259918)
18025
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 298486374, 'Shop', 980190962, 599072141)
18026
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 229906743, 'Shop', 980190962, 229906743)
18027
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 372698694, 'Shop', 980190962, 372698694)
18028
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 40760454, 'Shop', 980190962, 40760454)
18029
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 1033518405, 'Shop', 980190962, 1033518405)
18030
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
18031
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 258259918)
18032
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 412842077)
18033
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 599072141)
18034
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 229906743)
18035
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 372698694)
18036
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 40760454)
18037
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:17:22', '2017-04-25 01:17:22', 1033518405)
18038
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
18039
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:17:22', '2017-04-25 01:17:22', 980190962)
18040
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:17:22', '2017-04-25 01:17:22', 298486374)
18041
+ Fixture Delete (0.0ms) DELETE FROM "shops"
18042
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:17:22', '2017-04-25 01:17:22', 980190962)
18043
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:17:22', '2017-04-25 01:17:22', 298486374)
18044
+  (54.6ms) commit transaction
18045
+  (0.3ms) begin transaction
18046
+ -----------------------------------------------------
18047
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
18048
+ -----------------------------------------------------
18049
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18050
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18051
+  (0.1ms) rollback transaction
18052
+  (0.1ms) begin transaction
18053
+ -----------------------------------------------------------------
18054
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
18055
+ -----------------------------------------------------------------
18056
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18057
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18058
+  (0.1ms) rollback transaction
18059
+  (0.1ms) begin transaction
18060
+ ----------------------------------------------
18061
+ Extface::Driver::Datecs::Fp550Test: test_fsend
18062
+ ----------------------------------------------
18063
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18064
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18065
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18066
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
18067
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
18068
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
18069
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
18070
+  (0.3ms) rollback transaction
18071
+  (0.1ms) begin transaction
18072
+ -----------------------------------------------
18073
+ Extface::Driver::Datecs::Fp550Test: test_handle
18074
+ -----------------------------------------------
18075
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18076
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18077
+  (0.1ms) rollback transaction
18078
+  (0.1ms) begin transaction
18079
+ -------------------------------------------------------
18080
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
18081
+ -------------------------------------------------------
18082
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18083
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18084
+  (0.1ms) rollback transaction
18085
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18086
+  (107.8ms) DROP TABLE "extface_devices"
18087
+  (54.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
18088
+  (64.0ms) DROP TABLE "extface_drivers"
18089
+  (65.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
18090
+  (66.9ms) DROP TABLE "extface_jobs"
18091
+  (71.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
18092
+  (0.2ms) select sqlite_version(*)
18093
+  (75.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
18094
+  (65.1ms) DROP TABLE "extface_serial_configs"
18095
+  (73.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
18096
+  (80.9ms) DROP TABLE "shops"
18097
+  (73.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
18098
+  (0.1ms) SELECT version FROM "schema_migrations"
18099
+  (0.1ms) begin transaction
18100
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
18101
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:20:17', '2017-04-25 01:20:17', 980190962, 258259918)
18102
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:20:17', '2017-04-25 01:20:17', 298486374, 599072141)
18103
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
18104
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 980190962, 'Shop', 980190962, 258259918)
18105
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 298486374, 'Shop', 980190962, 599072141)
18106
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 229906743, 'Shop', 980190962, 229906743)
18107
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 372698694, 'Shop', 980190962, 372698694)
18108
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 40760454, 'Shop', 980190962, 40760454)
18109
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 1033518405, 'Shop', 980190962, 1033518405)
18110
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
18111
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 258259918)
18112
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 412842077)
18113
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 599072141)
18114
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 229906743)
18115
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 372698694)
18116
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 40760454)
18117
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:20:17', '2017-04-25 01:20:17', 1033518405)
18118
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
18119
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:20:17', '2017-04-25 01:20:17', 980190962)
18120
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:20:17', '2017-04-25 01:20:17', 298486374)
18121
+ Fixture Delete (0.1ms) DELETE FROM "shops"
18122
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:20:17', '2017-04-25 01:20:17', 980190962)
18123
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:20:17', '2017-04-25 01:20:17', 298486374)
18124
+  (66.0ms) commit transaction
18125
+  (0.2ms) begin transaction
18126
+ -----------------------------------------------------
18127
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
18128
+ -----------------------------------------------------
18129
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18130
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18131
+  (0.1ms) rollback transaction
18132
+  (0.1ms) begin transaction
18133
+ -----------------------------------------------------------------
18134
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
18135
+ -----------------------------------------------------------------
18136
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18137
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18138
+  (0.2ms) rollback transaction
18139
+  (0.1ms) begin transaction
18140
+ ----------------------------------------------
18141
+ Extface::Driver::Datecs::Fp550Test: test_fsend
18142
+ ----------------------------------------------
18143
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18144
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18145
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18146
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
18147
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
18148
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
18149
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
18150
+  (0.1ms) rollback transaction
18151
+  (0.1ms) begin transaction
18152
+ -----------------------------------------------
18153
+ Extface::Driver::Datecs::Fp550Test: test_handle
18154
+ -----------------------------------------------
18155
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18156
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18157
+  (0.1ms) rollback transaction
18158
+  (0.1ms) begin transaction
18159
+ -------------------------------------------------------
18160
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
18161
+ -------------------------------------------------------
18162
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18163
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18164
+  (0.1ms) rollback transaction
18165
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
18166
+  (146.9ms) DROP TABLE "extface_devices"
18167
+  (63.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
18168
+  (61.6ms) DROP TABLE "extface_drivers"
18169
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
18170
+  (59.6ms) DROP TABLE "extface_jobs"
18171
+  (80.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
18172
+  (0.1ms) select sqlite_version(*)
18173
+  (73.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
18174
+  (80.3ms) DROP TABLE "extface_serial_configs"
18175
+  (74.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
18176
+  (57.2ms) DROP TABLE "shops"
18177
+  (65.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
18178
+  (0.3ms) SELECT version FROM "schema_migrations"
18179
+  (0.1ms) begin transaction
18180
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
18181
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:20:44', '2017-04-25 01:20:44', 980190962, 258259918)
18182
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-04-25 01:20:44', '2017-04-25 01:20:44', 298486374, 599072141)
18183
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
18184
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 980190962, 'Shop', 980190962, 258259918)
18185
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 298486374, 'Shop', 980190962, 599072141)
18186
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 229906743, 'Shop', 980190962, 229906743)
18187
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 372698694, 'Shop', 980190962, 372698694)
18188
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 40760454, 'Shop', 980190962, 40760454)
18189
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 1033518405, 'Shop', 980190962, 1033518405)
18190
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
18191
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 258259918)
18192
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 412842077)
18193
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 599072141)
18194
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 229906743)
18195
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 372698694)
18196
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 40760454)
18197
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-04-25 01:20:44', '2017-04-25 01:20:44', 1033518405)
18198
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
18199
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:20:44', '2017-04-25 01:20:44', 980190962)
18200
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-04-25 01:20:44', '2017-04-25 01:20:44', 298486374)
18201
+ Fixture Delete (0.0ms) DELETE FROM "shops"
18202
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:20:44', '2017-04-25 01:20:44', 980190962)
18203
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-04-25 01:20:44', '2017-04-25 01:20:44', 298486374)
18204
+  (55.7ms) commit transaction
18205
+  (0.2ms) begin transaction
18206
+ -----------------------------------------------------
18207
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
18208
+ -----------------------------------------------------
18209
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18210
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18211
+  (0.1ms) rollback transaction
18212
+  (0.2ms) begin transaction
18213
+ -----------------------------------------------------------------
18214
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
18215
+ -----------------------------------------------------------------
18216
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18217
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18218
+  (0.1ms) rollback transaction
18219
+  (0.1ms) begin transaction
18220
+ ----------------------------------------------
18221
+ Extface::Driver::Datecs::Fp550Test: test_fsend
18222
+ ----------------------------------------------
18223
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18224
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18225
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18226
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
18227
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
18228
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
18229
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
18230
+  (0.2ms) rollback transaction
18231
+  (0.2ms) begin transaction
18232
+ -----------------------------------------------
18233
+ Extface::Driver::Datecs::Fp550Test: test_handle
18234
+ -----------------------------------------------
18235
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18236
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18237
+  (0.1ms) rollback transaction
18238
+  (0.1ms) begin transaction
18239
+ -------------------------------------------------------
18240
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
18241
+ -------------------------------------------------------
18242
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18243
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18244
+  (0.1ms) rollback transaction
18245
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
18246
+  (94.7ms) DROP TABLE "extface_devices"
18247
+  (114.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime, "encoding" varchar(255)) 
18248
+  (94.3ms) DROP TABLE "extface_drivers"
18249
+  (125.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
18250
+  (311.5ms) DROP TABLE "extface_jobs"
18251
+  (103.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime, "started_at" datetime) 
18252
+  (0.2ms) select sqlite_version(*)
18253
+  (108.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
18254
+  (106.4ms) DROP TABLE "extface_serial_configs"
18255
+  (103.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
18256
+  (100.1ms) DROP TABLE "shops"
18257
+  (103.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
18258
+  (0.3ms) SELECT version FROM "schema_migrations"
18259
+  (0.1ms) begin transaction
18260
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
18261
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-05-31 22:58:38', '2017-05-31 22:58:38', 980190962, 258259918)
18262
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2017-05-31 22:58:38', '2017-05-31 22:58:38', 298486374, 599072141)
18263
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
18264
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 980190962, 'Shop', 980190962, 258259918)
18265
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 298486374, 'Shop', 980190962, 599072141)
18266
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 229906743, 'Shop', 980190962, 229906743)
18267
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_dp25', 'Datect DP25', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 372698694, 'Shop', 980190962, 372698694)
18268
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 40760454, 'Shop', 980190962, 40760454)
18269
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('posiflex_aura80', 'Posiflex Aura80', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 1033518405, 'Shop', 980190962, 1033518405)
18270
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
18271
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 258259918)
18272
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 412842077)
18273
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 599072141)
18274
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 229906743)
18275
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Dp25', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 372698694)
18276
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 40760454)
18277
+ Fixture Insert (0.0ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Posiflex::Aura80', '2017-05-31 22:58:38', '2017-05-31 22:58:38', 1033518405)
18278
+ Fixture Delete (0.0ms) DELETE FROM "extface_jobs"
18279
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-05-31 22:58:38', '2017-05-31 22:58:38', 980190962)
18280
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2017-05-31 22:58:38', '2017-05-31 22:58:38', 298486374)
18281
+ Fixture Delete (0.0ms) DELETE FROM "shops"
18282
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-05-31 22:58:38', '2017-05-31 22:58:38', 980190962)
18283
+ Fixture Insert (0.0ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2017-05-31 22:58:38', '2017-05-31 22:58:38', 298486374)
18284
+  (83.5ms) commit transaction
18285
+  (0.3ms) begin transaction
18286
+ ---------------------------------------------------------
18287
+ Extface::DevicesControllerTest: test_should_create_device
18288
+ ---------------------------------------------------------
18289
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
18290
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
18291
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18292
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18293
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18294
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18295
+ Processing by Extface::DevicesController#create as HTML
18296
+ Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}}
18297
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
18298
+  (0.1ms) SAVEPOINT active_record_1
18299
+ Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
18300
+ Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
18301
+ SQL (0.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2017-05-31 22:58:38.769413"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2017-05-31 22:58:38.769413"]]
18302
+ SQL (0.2ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2017-05-31 22:58:38.779485"], ["driver_id", 1033518406], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "b0bcec7bef072240b11d86bf754fe7ad"], ["updated_at", "2017-05-31 22:58:38.779485"], ["uuid", "b0bcec7bef072240b11d86bf754fe7ad"]]
18303
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18304
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18305
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18306
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/1033518406
18307
+ Completed 302 Found in 62ms (ActiveRecord: 1.2ms)
18308
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
18309
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18310
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18311
+  (0.1ms) rollback transaction
18312
+  (0.1ms) begin transaction
18313
+ ----------------------------------------------------------
18314
+ Extface::DevicesControllerTest: test_should_destroy_device
18315
+ ----------------------------------------------------------
18316
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
18317
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
18318
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18319
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18320
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18321
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18322
+ Processing by Extface::DevicesController#destroy as HTML
18323
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
18324
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
18325
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
18326
+  (0.0ms) SAVEPOINT active_record_1
18327
+ SQL (0.1ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
18328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18329
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18330
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18331
+ Redirected to http://test.host/shops/298486374/shop_extface/devices
18332
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
18333
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
18334
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18335
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18336
+  (0.1ms) rollback transaction
18337
+  (0.1ms) begin transaction
18338
+ ----------------------------------------------------
18339
+ Extface::DevicesControllerTest: test_should_get_edit
18340
+ ----------------------------------------------------
18341
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
18342
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18343
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18344
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18345
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18346
+ Processing by Extface::DevicesController#edit as HTML
18347
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
18348
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
18349
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
18350
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18351
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18352
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18353
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18354
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18355
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18356
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.5ms)
18357
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
18358
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18359
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18360
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms)
18361
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (10.1ms)
18362
+ Completed 200 OK in 127ms (Views: 124.4ms | ActiveRecord: 1.0ms)
18363
+  (0.1ms) rollback transaction
18364
+  (0.0ms) begin transaction
18365
+ -----------------------------------------------------
18366
+ Extface::DevicesControllerTest: test_should_get_index
18367
+ -----------------------------------------------------
18368
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
18369
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18370
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18371
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18372
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18373
+ Processing by Extface::DevicesController#index as HTML
18374
+ Parameters: {"shop_id"=>"980190962"}
18375
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
18376
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
18377
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18378
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18379
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18380
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18381
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
18382
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18383
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18384
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18385
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
18386
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18387
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18388
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18389
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18390
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18391
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18392
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18393
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18394
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18395
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18396
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18397
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18398
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18399
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18400
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18401
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
18402
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18403
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18404
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18405
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18406
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18407
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18408
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18409
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]]
18410
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18411
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18412
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18413
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18414
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18415
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18416
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18417
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
18418
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18419
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18420
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18421
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18422
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18423
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18424
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18425
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
18426
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18427
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18428
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18429
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18430
+ Completed 200 OK in 37ms (Views: 32.1ms | ActiveRecord: 3.4ms)
18431
+  (0.1ms) rollback transaction
18432
+  (0.0ms) begin transaction
18433
+ ---------------------------------------------------
18434
+ Extface::DevicesControllerTest: test_should_get_new
18435
+ ---------------------------------------------------
18436
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
18437
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18438
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18439
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18440
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18441
+ Processing by Extface::DevicesController#new as HTML
18442
+ Parameters: {"shop_id"=>"980190962"}
18443
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
18444
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18445
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18446
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18447
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18448
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18449
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18450
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
18451
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.5ms)
18452
+  (0.1ms) rollback transaction
18453
+  (0.0ms) begin transaction
18454
+ -------------------------------------------------------
18455
+ Extface::DevicesControllerTest: test_should_show_device
18456
+ -------------------------------------------------------
18457
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
18458
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18459
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18460
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18461
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18462
+ Processing by Extface::DevicesController#show as HTML
18463
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
18464
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
18465
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
18466
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18467
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18468
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18469
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18470
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18471
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18472
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18473
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
18474
+  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
18475
+  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
18476
+  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
18477
+  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
18478
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18479
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18480
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18481
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18482
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (2.7ms)
18483
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18484
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18485
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]]
18486
+ Completed 200 OK in 25ms (Views: 21.7ms | ActiveRecord: 1.9ms)
18487
+  (0.1ms) rollback transaction
18488
+  (0.0ms) begin transaction
18489
+ ---------------------------------------------------------
18490
+ Extface::DevicesControllerTest: test_should_update_device
18491
+ ---------------------------------------------------------
18492
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
18493
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18494
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18495
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18496
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18497
+ Processing by Extface::DevicesController#update as HTML
18498
+ Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
18499
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
18500
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? AND "extface_devices"."id" = ? LIMIT 1 [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["id", 980190962]]
18501
+  (0.0ms) SAVEPOINT active_record_1
18502
+ Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" = 'new_name' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
18503
+ Extface::Device Exists (0.1ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."uuid" = 'MyUUID1' AND "extface_devices"."id" != 980190962 AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
18504
+ SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2017-05-31 22:58:39.015861"]]
18505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
18506
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18507
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18508
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962
18509
+ Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
18510
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18511
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18512
+  (0.1ms) rollback transaction
18513
+  (0.1ms) begin transaction
18514
+ -----------------------------------------------------
18515
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
18516
+ -----------------------------------------------------
18517
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18518
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18519
+  (0.1ms) rollback transaction
18520
+  (0.1ms) begin transaction
18521
+ -----------------------------------------------------------------
18522
+ Extface::Driver::Datecs::Fp550Test: test_build_sale_data_encoding
18523
+ -----------------------------------------------------------------
18524
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18525
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18526
+  (0.1ms) rollback transaction
18527
+  (0.1ms) begin transaction
18528
+ ----------------------------------------------
18529
+ Extface::Driver::Datecs::Fp550Test: test_fsend
18530
+ ----------------------------------------------
18531
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18532
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18533
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18534
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
18535
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
18536
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
18537
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
18538
+  (0.2ms) rollback transaction
18539
+  (0.2ms) begin transaction
18540
+ -----------------------------------------------
18541
+ Extface::Driver::Datecs::Fp550Test: test_handle
18542
+ -----------------------------------------------
18543
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18544
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18545
+  (0.1ms) rollback transaction
18546
+  (0.0ms) begin transaction
18547
+ -------------------------------------------------------
18548
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
18549
+ -------------------------------------------------------
18550
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
18551
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
18552
+  (0.1ms) rollback transaction
18553
+  (0.1ms) begin transaction
18554
+ ----------------------------------------------------
18555
+ Extface::Driver::Datecs::Dp25Test: test_build_packet
18556
+ ----------------------------------------------------
18557
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]]
18558
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]]
18559
+  (0.1ms) rollback transaction
18560
+  (0.1ms) begin transaction
18561
+ ---------------------------------------------
18562
+ Extface::Driver::Datecs::Dp25Test: test_fsend
18563
+ ---------------------------------------------
18564
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]]
18565
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]]
18566
+ Extface::Job Load (0.0ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18567
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 372698694]]
18568
+ Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 372698694]]
18569
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 372698694]]
18570
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 372698694]]
18571
+  (0.3ms) rollback transaction
18572
+  (0.2ms) begin transaction
18573
+ ----------------------------------------------
18574
+ Extface::Driver::Datecs::Dp25Test: test_handle
18575
+ ----------------------------------------------
18576
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]]
18577
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]]
18578
+  (0.1ms) rollback transaction
18579
+  (0.1ms) begin transaction
18580
+ ------------------------------------------------------
18581
+ Extface::Driver::Datecs::Dp25Test: test_response_frame
18582
+ ------------------------------------------------------
18583
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 372698694]]
18584
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 372698694]]
18585
+  (0.1ms) rollback transaction
18586
+  (0.1ms) begin transaction
18587
+ -----------------------
18588
+ ExtfaceTest: test_truth
18589
+ -----------------------
18590
+  (0.1ms) rollback transaction
18591
+  (0.1ms) begin transaction
18592
+ -------------------------------------------------
18593
+ Extface::JobsControllerTest: test_should_show_job
18594
+ -------------------------------------------------
18595
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18596
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
18597
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18598
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
18599
+ Processing by Extface::JobsController#show as HTML
18600
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
18601
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18602
+  (0.1ms) rollback transaction
18603
+  (0.1ms) begin transaction
18604
+ ---------------------------------------------------
18605
+ Extface::Driver::Posiflex::Aura80Test: test_autocut
18606
+ ---------------------------------------------------
18607
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
18608
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
18609
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18610
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
18611
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
18612
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
18613
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
18614
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
18615
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
18616
+  (0.2ms) rollback transaction
18617
+  (0.1ms) begin transaction
18618
+ --------------------------------------------------
18619
+ Extface::Driver::Posiflex::Aura80Test: test_handle
18620
+ --------------------------------------------------
18621
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
18622
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
18623
+  (0.1ms) rollback transaction
18624
+  (0.1ms) begin transaction
18625
+ -----------------------------------------------------
18626
+ Extface::Driver::Posiflex::Aura80Test: test_paper_out
18627
+ -----------------------------------------------------
18628
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
18629
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
18630
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18631
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
18632
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
18633
+  (0.3ms) rollback transaction
18634
+  (0.3ms) begin transaction
18635
+ --------------------------------------------------
18636
+ Extface::Driver::Posiflex::Aura80Test: test_status
18637
+ --------------------------------------------------
18638
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 1033518405]]
18639
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 1033518405]]
18640
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
18641
+  (0.3ms) rollback transaction
18642
+ Extface::Job Load (0.5ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 1033518405]]
18643
+ Extface::Job Load (0.5ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL AND "extface_jobs"."started_at" IS NOT NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 1033518405]]
18644
+ Completed 200 OK in 10004ms (ActiveRecord: 3.2ms)