extface 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/extface/handler_controller.rb +2 -1
  3. data/app/models/extface/driver/daisy_fx1200.rb +13 -6
  4. data/app/models/extface/driver/datecs/fp550.rb +10 -0
  5. data/lib/extface/version.rb +1 -1
  6. data/test/dummy/db/test.sqlite3 +0 -0
  7. data/test/dummy/log/extface/229906743/fp550.log +12 -19
  8. data/test/dummy/log/extface/229906743/fp550.log.20151218 +19 -0
  9. data/test/dummy/log/extface/40760454/daisy_fx1200.log +82 -0
  10. data/test/dummy/log/test.log +3149 -0
  11. data/test/dummy/tmp/cache/assets/test/sprockets/0c28c0bb76182ec308d13c66ec6fda61 +0 -0
  12. data/test/dummy/tmp/cache/assets/test/sprockets/131ba126cbb50b7f5f85d7434f7c28b3 +0 -0
  13. data/test/dummy/tmp/cache/assets/test/sprockets/15e76fa46a3a6e9fd1531a8c87f9754a +0 -0
  14. data/test/dummy/tmp/cache/assets/test/sprockets/186a4774ad51dc6b952364ea2ecc9f10 +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/2169de77528f685913b8d978a0d49adf +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/6c907ebc4dfc91ded4c6eb63eaceaced +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/81686b30268fe172f742337f6436e1a6 +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/831e944af1f82a381077fb977a19a6cd +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/8aa3dc18b0669349dc82d38659466521 +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/9ced0eb107fc14e46aeb9b937a532de5 +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/9e1cee742bc3f459695d6b9e41675708 +0 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/ce7a21dec96ce1c6f0f9f380f9e99a6e +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/d0df4c04576dd7648b6e39e9f96145ae +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/dd316630a8b1c9b3f9c1abc10a867aa8 +0 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/e696ab595fbf956db2bdc4e9093d8f5f +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/f464488ab7bbe37fa1173adc61121ada +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/f511fb416ef5d95e616a40da2e91ec11 +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/f755ad83652a30f284f1f466a41d283d +0 -0
  29. data/test/fixtures/extface/devices.yml +7 -1
  30. data/test/fixtures/extface/drivers.yml +4 -1
  31. data/test/models/extface/driver/daisy_fx1200_test.rb +72 -0
  32. data/test/models/extface/driver/datecs/fp550_test.rb +3 -3
  33. metadata +45 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90782c190cf82d9049bd6f0c7156e5d5b30d7363
4
- data.tar.gz: ad2148e4617dc2e01cf20a5c557ac83f16c6f9fb
3
+ metadata.gz: cd36e31ad80dacfbd38ca67bcf2c934f469d3010
4
+ data.tar.gz: 91c004d69a145a1f07c9504518f6cb4c0185a64d
5
5
  SHA512:
6
- metadata.gz: ccf88396bd913fb66977b8c56cb3f8df1adece2028ca61bea4273f88b5196bef2f4b0618578b1227acf798c1e46487681da325b79bcf0fb6b8dcc0e6e4255a2f
7
- data.tar.gz: 31263588ec6d2458bc03478874ded6af609a1147af37ed6d99b904b6289ec5aafffbd149ac004e33419598db51ee98ccb50531e8efdb2f162aefc16ec534db68
6
+ metadata.gz: 4c15488dc4545d7aa1c4e49865382bc87072af460af8f6eaaafad984dc4eee168788cde344fae9de1993b044491ffb35dca2b6a5b7375899e888823988c93080
7
+ data.tar.gz: 92a0cf7b2dc09ae94160ef01ab69792700176fbb1ff3de8c9e788a7e195bfcc3c03ae9a7ac3dcc7056dd17f800d223184b2a9b3c12c3893f6ecfa5f29bdedbdd
@@ -34,9 +34,10 @@ module Extface
34
34
  r.append device.uuid, request.body.read
35
35
  @full_buffer = r.get device.uuid
36
36
  end
37
- if bytes_porcessed = device.driver.pre_handle(@full_buffer.b)
37
+ while @full_buffer.present? && bytes_porcessed = device.driver.pre_handle(@full_buffer.b) #handle more than one valid packet in the buffer
38
38
  Extface.redis_block do |r|
39
39
  r.set device.uuid, @full_buffer.b[bytes_porcessed..-1]
40
+ @full_buffer = r.get device.uuid
40
41
  end
41
42
  end
42
43
  #stream_job # stream right now :)
@@ -19,6 +19,7 @@ module Extface
19
19
  ACKS_MAX_WAIT = 60 #count / nothing is forever
20
20
  NAKS_MAX_COUNT = 3 #count
21
21
  BAD_SEQ_MAX_COUNT = 3
22
+ NO_RESP_MAX_COUNT = 3
22
23
 
23
24
  TAX_GROUPS_MAP = {
24
25
  1 => "\xc0",
@@ -44,12 +45,9 @@ module Extface
44
45
  include Extface::Driver::Daisy::CommandsFx1200
45
46
 
46
47
  def handle(buffer) #buffer is filled with multiple pushes, wait for full frame (ACKs)STX..PA2..PA1..ETX
47
- if frame_len = buffer.index("\x03") || buffer.index("\x16") || buffer.index("\x15")
48
- rpush buffer[0..frame_len]
49
- return frame_len+1 # return number of bytes processed
50
- else
51
- #TODO check buffer.length
52
- return 0 #no bytes processed
48
+ if i = buffer.index("\x03") || buffer.index("\x16") || buffer.index("\x15")
49
+ rpush buffer[0..i]
50
+ return i + 1 # return number of bytes processed
53
51
  end
54
52
  end
55
53
 
@@ -209,6 +207,8 @@ module Extface
209
207
  result = false
210
208
  invalid_frames = 0
211
209
  nak_messages = 0
210
+ no_resp = 0
211
+ flush # fix mysterious double packet response, #TODO send 2 commands and then read 2 responses may fail
212
212
  push packet_data
213
213
  ACKS_MAX_WAIT.times do |retries|
214
214
  errors.clear
@@ -237,6 +237,13 @@ module Extface
237
237
  end
238
238
  push packet_data unless resp.ack?
239
239
  end
240
+ else
241
+ no_resp += 1
242
+ if no_resp > NO_RESP_MAX_COUNT
243
+ p "No reply in #{NO_RESP_MAX_COUNT * RESPONSE_TIMEOUT} seconds. Abort!"
244
+ errors.add :base, "No reply in #{NO_RESP_MAX_COUNT * RESPONSE_TIMEOUT} seconds. Abort!"
245
+ return result
246
+ end
240
247
  end
241
248
  errors.add :base, "#{ACKS_MAX_WAIT} ACKs Received. Abort!"
242
249
  end
@@ -7,6 +7,7 @@ module Extface
7
7
  ACKS_MAX_WAIT = 60 #count / nothing is forever
8
8
  NAKS_MAX_COUNT = 3 #count
9
9
  BAD_SEQ_MAX_COUNT = 3
10
+ NO_RESP_MAX_COUNT = 3
10
11
 
11
12
  TAX_GROUPS_MAP = {
12
13
  1 => "\xc0",
@@ -173,6 +174,8 @@ module Extface
173
174
  result = false
174
175
  invalid_frames = 0 #counter for bad responses
175
176
  nak_messages = 0 #counter for rejected packets (should re-transmit the packet)
177
+ no_resp = 0
178
+ flush #prevent double packet response issue like daisy driver
176
179
  push packet_data #send packet
177
180
  ACKS_MAX_WAIT.times do |retries|
178
181
  errors.clear
@@ -201,6 +204,13 @@ module Extface
201
204
  end
202
205
  push packet_data unless resp.ack?
203
206
  end
207
+ else
208
+ no_resp += 1
209
+ if no_resp > NO_RESP_MAX_COUNT
210
+ p "No reply in #{NO_RESP_MAX_COUNT * RESPONSE_TIMEOUT} seconds. Abort!"
211
+ errors.add :base, "No reply in #{NO_RESP_MAX_COUNT * RESPONSE_TIMEOUT} seconds. Abort!"
212
+ return result
213
+ end
204
214
  end
205
215
  errors.add :base, "#{ACKS_MAX_WAIT} ACKs Received. Abort!"
206
216
  end
@@ -1,3 +1,3 @@
1
1
  module Extface
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
Binary file
@@ -1,19 +1,12 @@
1
- # Logfile created on 2015-08-20 22:58:49 -0400 by logger.rb/44203
2
- D, [2015-08-20T22:58:49.387760 #8731] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
- D, [2015-08-20T23:02:51.092705 #8731] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
4
- D, [2015-08-20T23:03:01.094521 #8731] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
5
- D, [2015-08-20T23:15:08.348198 #9708] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
6
- D, [2015-08-20T23:15:27.362920 #9748] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
7
- D, [2015-08-20T23:15:43.740630 #9786] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
8
- D, [2015-08-20T23:17:54.654980 #9909] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
9
- D, [2015-08-20T23:18:16.956819 #9946] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
10
- D, [2015-08-20T23:21:02.456584 #10031] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
11
- D, [2015-08-20T23:22:58.259650 #10084] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
12
- D, [2015-08-20T23:27:00.101687 #10084] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
13
- D, [2015-08-20T23:27:10.104003 #10084] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
14
- D, [2015-08-20T23:29:04.699820 #10232] DEBUG -- : --> 01 25 2F 4A 58 05 30 30 3F 3B 03
15
- D, [2015-08-20T23:29:05.707869 #10232] DEBUG -- : --> 01 24 30 2C 05 30 30 38 35 03
16
- D, [2015-08-20T23:29:52.412818 #10274] DEBUG -- : --> 01 25 2E 4A 58 05 30 30 3F 3A 03
17
- D, [2015-08-20T23:30:24.424356 #10315] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
18
- D, [2015-08-20T23:34:26.072999 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
19
- D, [2015-08-20T23:34:36.074700 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
1
+ # Logfile created on 2015-12-19 10:13:09 -0500 by logger.rb/44203
2
+ D, [2015-12-19T10:13:09.841582 #15365] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
+ D, [2015-12-19T10:20:54.495691 #15557] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
4
+ D, [2015-12-19T12:39:00.632595 #21144] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
5
+ D, [2015-12-19T12:43:02.043461 #21144] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
6
+ D, [2015-12-19T12:43:12.044925 #21144] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
7
+ D, [2015-12-19T12:45:25.794472 #21389] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
8
+ D, [2015-12-19T12:45:26.796379 #21389] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
9
+ D, [2015-12-19T12:47:18.967939 #21469] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
10
+ D, [2015-12-19T12:47:19.970944 #21469] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
11
+ D, [2015-12-19T12:56:06.468061 #21740] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
12
+ D, [2015-12-19T12:56:07.470141 #21740] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -0,0 +1,19 @@
1
+ # Logfile created on 2015-08-20 22:58:49 -0400 by logger.rb/44203
2
+ D, [2015-08-20T22:58:49.387760 #8731] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
3
+ D, [2015-08-20T23:02:51.092705 #8731] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
4
+ D, [2015-08-20T23:03:01.094521 #8731] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
5
+ D, [2015-08-20T23:15:08.348198 #9708] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
6
+ D, [2015-08-20T23:15:27.362920 #9748] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
7
+ D, [2015-08-20T23:15:43.740630 #9786] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
8
+ D, [2015-08-20T23:17:54.654980 #9909] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
9
+ D, [2015-08-20T23:18:16.956819 #9946] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
10
+ D, [2015-08-20T23:21:02.456584 #10031] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
11
+ D, [2015-08-20T23:22:58.259650 #10084] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
12
+ D, [2015-08-20T23:27:00.101687 #10084] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
13
+ D, [2015-08-20T23:27:10.104003 #10084] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
14
+ D, [2015-08-20T23:29:04.699820 #10232] DEBUG -- : --> 01 25 2F 4A 58 05 30 30 3F 3B 03
15
+ D, [2015-08-20T23:29:05.707869 #10232] DEBUG -- : --> 01 24 30 2C 05 30 30 38 35 03
16
+ D, [2015-08-20T23:29:52.412818 #10274] DEBUG -- : --> 01 25 2E 4A 58 05 30 30 3F 3A 03
17
+ D, [2015-08-20T23:30:24.424356 #10315] DEBUG -- : --> 01 25 20 4A 58 05 30 30 3E 3C 03
18
+ D, [2015-08-20T23:34:26.072999 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
19
+ D, [2015-08-20T23:34:36.074700 #10315] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -0,0 +1,82 @@
1
+ # Logfile created on 2015-12-19 10:43:06 -0500 by logger.rb/44203
2
+ D, [2015-12-19T10:43:06.412290 #16188] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
3
+ D, [2015-12-19T10:49:20.486696 #16441] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
4
+ D, [2015-12-19T10:53:22.107688 #16441] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
5
+ D, [2015-12-19T10:53:32.108923 #16441] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
6
+ D, [2015-12-19T11:05:14.662329 #16927] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
7
+ D, [2015-12-19T11:05:15.663152 #16927] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
8
+ D, [2015-12-19T11:11:26.059445 #17290] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
9
+ D, [2015-12-19T11:11:27.063714 #17290] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
10
+ D, [2015-12-19T11:13:29.073984 #17422] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
11
+ D, [2015-12-19T11:13:30.084109 #17422] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
12
+ D, [2015-12-19T11:14:51.386106 #17514] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
13
+ D, [2015-12-19T11:14:52.391172 #17514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
14
+ D, [2015-12-19T11:47:46.827158 #18697] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
15
+ D, [2015-12-19T11:47:47.825200 #18697] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
16
+ D, [2015-12-19T11:51:19.618242 #18741] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
17
+ D, [2015-12-19T11:52:36.035294 #18847] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
18
+ D, [2015-12-19T11:52:37.037775 #18847] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
19
+ D, [2015-12-19T11:52:38.058034 #18847] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
20
+ D, [2015-12-19T11:52:48.058565 #18847] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
21
+ D, [2015-12-19T11:54:08.979787 #18902] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
22
+ D, [2015-12-19T11:54:09.984547 #18902] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
23
+ D, [2015-12-19T11:54:11.000391 #18902] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
24
+ D, [2015-12-19T11:54:21.002858 #18902] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
25
+ D, [2015-12-19T11:57:12.164609 #19013] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
26
+ D, [2015-12-19T11:57:13.172187 #19013] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
27
+ D, [2015-12-19T11:57:14.198314 #19013] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
28
+ D, [2015-12-19T11:57:24.201869 #19013] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
29
+ D, [2015-12-19T11:58:07.241485 #19098] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
30
+ D, [2015-12-19T11:58:08.249117 #19098] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
31
+ D, [2015-12-19T11:58:09.269978 #19098] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
32
+ D, [2015-12-19T11:58:19.271985 #19098] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
33
+ D, [2015-12-19T11:58:35.683951 #19191] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
34
+ D, [2015-12-19T11:58:36.692054 #19191] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
35
+ D, [2015-12-19T11:58:37.710507 #19191] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
36
+ D, [2015-12-19T11:58:47.712081 #19191] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
37
+ D, [2015-12-19T12:01:07.939133 #19514] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
38
+ D, [2015-12-19T12:01:08.948309 #19514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
39
+ D, [2015-12-19T12:01:09.963643 #19514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
40
+ D, [2015-12-19T12:01:19.966256 #19514] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
41
+ D, [2015-12-19T12:02:42.010379 #19632] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
42
+ D, [2015-12-19T12:02:43.017221 #19632] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
43
+ D, [2015-12-19T12:02:44.041822 #19632] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
44
+ D, [2015-12-19T12:02:54.044534 #19632] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
45
+ D, [2015-12-19T12:04:16.486702 #19711] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
46
+ D, [2015-12-19T12:04:17.493593 #19711] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
47
+ D, [2015-12-19T12:04:18.519615 #19711] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
48
+ D, [2015-12-19T12:04:28.520100 #19711] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
49
+ D, [2015-12-19T12:05:54.520755 #19864] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
50
+ D, [2015-12-19T12:05:55.516785 #19864] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
51
+ D, [2015-12-19T12:05:56.539940 #19864] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
52
+ D, [2015-12-19T12:06:06.543145 #19864] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
53
+ D, [2015-12-19T12:10:19.198705 #19982] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
54
+ D, [2015-12-19T12:10:20.208788 #19982] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
55
+ D, [2015-12-19T12:10:21.228661 #19982] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
56
+ D, [2015-12-19T12:10:31.231484 #19982] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
57
+ D, [2015-12-19T12:12:31.004347 #20127] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
58
+ D, [2015-12-19T12:12:32.003042 #20127] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
59
+ D, [2015-12-19T12:12:33.025942 #20127] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
60
+ D, [2015-12-19T12:12:43.028164 #20127] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
61
+ D, [2015-12-19T12:14:43.876898 #20188] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
62
+ D, [2015-12-19T12:14:44.893021 #20188] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
63
+ D, [2015-12-19T12:14:45.912284 #20188] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
64
+ D, [2015-12-19T12:14:55.912901 #20188] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
65
+ D, [2015-12-19T12:15:54.129293 #20296] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
66
+ D, [2015-12-19T12:15:55.126284 #20296] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
67
+ D, [2015-12-19T12:18:40.993475 #20367] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
68
+ D, [2015-12-19T12:18:42.001687 #20367] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
69
+ D, [2015-12-19T12:20:41.813345 #20591] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
70
+ D, [2015-12-19T12:20:42.814304 #20591] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
71
+ D, [2015-12-19T12:22:58.381881 #20872] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
72
+ D, [2015-12-19T12:22:59.387072 #20872] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
73
+ D, [2015-12-19T12:32:47.923617 #21050] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
74
+ D, [2015-12-19T12:32:48.929732 #21050] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
75
+ D, [2015-12-19T12:38:58.518353 #21144] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
76
+ D, [2015-12-19T12:38:59.531004 #21144] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
77
+ D, [2015-12-19T12:45:43.380804 #21389] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
78
+ D, [2015-12-19T12:45:44.399059 #21389] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
79
+ D, [2015-12-19T12:47:16.693732 #21469] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
80
+ D, [2015-12-19T12:47:17.696360 #21469] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
81
+ D, [2015-12-19T12:56:08.518115 #21740] DEBUG -- : --> 01 24 20 4A 05 30 30 39 33 03
82
+ D, [2015-12-19T12:56:09.528030 #21740] DEBUG -- : --> 01 24 21 2C 05 30 30 37 36 03
@@ -4152,3 +4152,3152 @@ Extface::Driver::Datecs::Fp550Test: test_response_frame
4152
4152
  Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4153
4153
  Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4154
4154
   (0.1ms) rollback transaction
4155
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
4156
+  (292.0ms) DROP TABLE "extface_devices"
4157
+  (106.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4158
+  (81.0ms) DROP TABLE "extface_drivers"
4159
+  (90.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4160
+  (64.4ms) DROP TABLE "extface_jobs"
4161
+  (115.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4162
+  (0.2ms) select sqlite_version(*)
4163
+  (81.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4164
+  (56.6ms) DROP TABLE "extface_serial_configs"
4165
+  (65.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4166
+  (73.2ms) DROP TABLE "shops"
4167
+  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4168
+  (0.2ms) SELECT version FROM "schema_migrations"
4169
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4170
+  (73.9ms) DROP TABLE "extface_devices"
4171
+  (60.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4172
+  (64.3ms) DROP TABLE "extface_drivers"
4173
+  (65.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4174
+  (56.1ms) DROP TABLE "extface_jobs"
4175
+  (73.4ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4176
+  (0.2ms) select sqlite_version(*)
4177
+  (61.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4178
+  (51.1ms) DROP TABLE "extface_serial_configs"
4179
+  (62.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4180
+  (92.0ms) DROP TABLE "shops"
4181
+  (81.9ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4182
+  (0.2ms) SELECT version FROM "schema_migrations"
4183
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4184
+  (85.4ms) DROP TABLE "extface_devices"
4185
+  (65.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4186
+  (64.5ms) DROP TABLE "extface_drivers"
4187
+  (62.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4188
+  (51.0ms) DROP TABLE "extface_jobs"
4189
+  (65.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4190
+  (0.2ms) select sqlite_version(*)
4191
+  (61.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4192
+  (51.1ms) DROP TABLE "extface_serial_configs"
4193
+  (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) 
4194
+  (64.4ms) DROP TABLE "shops"
4195
+  (65.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4196
+  (0.3ms) SELECT version FROM "schema_migrations"
4197
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4198
+  (219.8ms) DROP TABLE "extface_devices"
4199
+  (61.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4200
+  (56.3ms) DROP TABLE "extface_drivers"
4201
+  (57.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4202
+  (50.9ms) DROP TABLE "extface_jobs"
4203
+  (54.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4204
+  (0.2ms) select sqlite_version(*)
4205
+  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4206
+  (50.8ms) DROP TABLE "extface_serial_configs"
4207
+  (62.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4208
+  (56.1ms) DROP TABLE "shops"
4209
+  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4210
+  (0.2ms) SELECT version FROM "schema_migrations"
4211
+  (0.1ms) begin transaction
4212
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
4213
+ Fixture Insert (0.4ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962, 258259918)
4214
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374, 599072141)
4215
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
4216
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962, 'Shop', 980190962, 258259918)
4217
+ Fixture Insert (0.3ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374, 'Shop', 980190962, 599072141)
4218
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 229906743, 'Shop', 980190962, 229906743)
4219
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4220
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 258259918)
4221
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 412842077)
4222
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 599072141)
4223
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 229906743)
4224
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:05:01', '2015-12-19 15:05:01', 40760454)
4225
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4226
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962)
4227
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374)
4228
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4229
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:05:01', '2015-12-19 15:05:01', 980190962)
4230
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:05:01', '2015-12-19 15:05:01', 298486374)
4231
+  (78.7ms) commit transaction
4232
+  (0.1ms) begin transaction
4233
+ ---------------------------------------------
4234
+ Extface::Driver::DaisyFx1200Test: test_handle
4235
+ ---------------------------------------------
4236
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4237
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4238
+  (0.1ms) rollback transaction
4239
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4240
+  (62.6ms) DROP TABLE "extface_devices"
4241
+  (76.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4242
+  (72.6ms) DROP TABLE "extface_drivers"
4243
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4244
+  (48.0ms) DROP TABLE "extface_jobs"
4245
+  (65.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4246
+  (0.2ms) select sqlite_version(*)
4247
+  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4248
+  (47.9ms) DROP TABLE "extface_serial_configs"
4249
+  (65.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4250
+  (64.8ms) DROP TABLE "shops"
4251
+  (65.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4252
+  (0.2ms) SELECT version FROM "schema_migrations"
4253
+  (0.1ms) begin transaction
4254
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4255
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962, 258259918)
4256
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374, 599072141)
4257
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4258
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962, 'Shop', 980190962, 258259918)
4259
+ Fixture Insert (0.3ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374, 'Shop', 980190962, 599072141)
4260
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 229906743, 'Shop', 980190962, 229906743)
4261
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 40760454, 'Shop', 980190962, 40760454)
4262
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
4263
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 258259918)
4264
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 412842077)
4265
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 599072141)
4266
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 229906743)
4267
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:07:52', '2015-12-19 15:07:52', 40760454)
4268
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4269
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962)
4270
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374)
4271
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4272
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:07:52', '2015-12-19 15:07:52', 980190962)
4273
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:07:52', '2015-12-19 15:07:52', 298486374)
4274
+  (45.9ms) commit transaction
4275
+  (0.1ms) begin transaction
4276
+ ---------------------------------------------
4277
+ Extface::Driver::DaisyFx1200Test: test_handle
4278
+ ---------------------------------------------
4279
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4280
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4281
+  (0.3ms) rollback transaction
4282
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4283
+  (79.1ms) DROP TABLE "extface_devices"
4284
+  (73.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4285
+  (72.7ms) DROP TABLE "extface_drivers"
4286
+  (73.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4287
+  (56.5ms) DROP TABLE "extface_jobs"
4288
+  (73.4ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4289
+  (0.2ms) select sqlite_version(*)
4290
+  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4291
+  (56.4ms) DROP TABLE "extface_serial_configs"
4292
+  (65.1ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4293
+  (64.7ms) DROP TABLE "shops"
4294
+  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4295
+  (0.3ms) SELECT version FROM "schema_migrations"
4296
+  (0.1ms) begin transaction
4297
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4298
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:10:09', '2015-12-19 15:10:09', 980190962, 258259918)
4299
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374, 599072141)
4300
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4301
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 980190962, 'Shop', 980190962, 258259918)
4302
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374, 'Shop', 980190962, 599072141)
4303
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 229906743, 'Shop', 980190962, 229906743)
4304
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 40760454, 'Shop', 980190962, 40760454)
4305
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4306
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 258259918)
4307
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 412842077)
4308
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 599072141)
4309
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 229906743)
4310
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:10:09', '2015-12-19 15:10:09', 40760454)
4311
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4312
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:10:09', '2015-12-19 15:10:09', 980190962)
4313
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374)
4314
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4315
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:10:09', '2015-12-19 15:10:09', 980190962)
4316
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:10:09', '2015-12-19 15:10:09', 298486374)
4317
+  (54.7ms) commit transaction
4318
+  (0.2ms) begin transaction
4319
+ ---------------------------------------------
4320
+ Extface::Driver::DaisyFx1200Test: test_handle
4321
+ ---------------------------------------------
4322
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4323
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4324
+  (0.2ms) rollback transaction
4325
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4326
+  (150.7ms) DROP TABLE "extface_devices"
4327
+  (65.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4328
+  (64.2ms) DROP TABLE "extface_drivers"
4329
+  (65.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4330
+  (97.5ms) DROP TABLE "extface_jobs"
4331
+  (73.4ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4332
+  (0.2ms) select sqlite_version(*)
4333
+  (72.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4334
+  (64.5ms) DROP TABLE "extface_serial_configs"
4335
+  (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) 
4336
+  (72.7ms) DROP TABLE "shops"
4337
+  (65.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4338
+  (0.3ms) SELECT version FROM "schema_migrations"
4339
+  (0.1ms) begin transaction
4340
+ Fixture Delete (0.3ms) DELETE FROM "extface_serial_configs"
4341
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:13:09', '2015-12-19 15:13:09', 980190962, 258259918)
4342
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374, 599072141)
4343
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4344
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 980190962, 'Shop', 980190962, 258259918)
4345
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374, 'Shop', 980190962, 599072141)
4346
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 229906743, 'Shop', 980190962, 229906743)
4347
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 40760454, 'Shop', 980190962, 40760454)
4348
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
4349
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 258259918)
4350
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 412842077)
4351
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 599072141)
4352
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 229906743)
4353
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:13:09', '2015-12-19 15:13:09', 40760454)
4354
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4355
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:13:09', '2015-12-19 15:13:09', 980190962)
4356
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374)
4357
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4358
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:13:09', '2015-12-19 15:13:09', 980190962)
4359
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:13:09', '2015-12-19 15:13:09', 298486374)
4360
+  (48.6ms) commit transaction
4361
+  (0.2ms) begin transaction
4362
+ -----------------------------------------------------
4363
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
4364
+ -----------------------------------------------------
4365
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4366
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4367
+  (0.1ms) rollback transaction
4368
+  (0.1ms) begin transaction
4369
+ ----------------------------------------------
4370
+ Extface::Driver::Datecs::Fp550Test: test_fsend
4371
+ ----------------------------------------------
4372
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4373
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4374
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
4375
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
4376
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
4377
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4378
+  (90.0ms) DROP TABLE "extface_devices"
4379
+  (106.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4380
+  (86.1ms) DROP TABLE "extface_drivers"
4381
+  (82.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4382
+  (75.8ms) DROP TABLE "extface_jobs"
4383
+  (73.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4384
+  (0.2ms) select sqlite_version(*)
4385
+  (72.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4386
+  (64.5ms) DROP TABLE "extface_serial_configs"
4387
+  (73.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4388
+  (73.1ms) DROP TABLE "shops"
4389
+  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4390
+  (0.2ms) SELECT version FROM "schema_migrations"
4391
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4392
+  (93.1ms) DROP TABLE "extface_devices"
4393
+  (86.8ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4394
+  (72.5ms) DROP TABLE "extface_drivers"
4395
+  (73.6ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4396
+  (75.7ms) DROP TABLE "extface_jobs"
4397
+  (86.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4398
+  (0.2ms) select sqlite_version(*)
4399
+  (83.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4400
+  (56.2ms) DROP TABLE "extface_serial_configs"
4401
+  (65.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4402
+  (64.5ms) DROP TABLE "shops"
4403
+  (65.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4404
+  (0.3ms) SELECT version FROM "schema_migrations"
4405
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4406
+  (64.8ms) DROP TABLE "extface_devices"
4407
+  (65.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4408
+  (65.4ms) DROP TABLE "extface_drivers"
4409
+  (65.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4410
+  (56.7ms) DROP TABLE "extface_jobs"
4411
+  (65.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4412
+  (0.2ms) select sqlite_version(*)
4413
+  (72.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4414
+  (64.8ms) DROP TABLE "extface_serial_configs"
4415
+  (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) 
4416
+  (72.7ms) DROP TABLE "shops"
4417
+  (65.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4418
+  (0.2ms) SELECT version FROM "schema_migrations"
4419
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4420
+  (101.6ms) DROP TABLE "extface_devices"
4421
+  (65.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4422
+  (64.3ms) DROP TABLE "extface_drivers"
4423
+  (65.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4424
+  (56.4ms) DROP TABLE "extface_jobs"
4425
+  (65.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4426
+  (0.2ms) select sqlite_version(*)
4427
+  (72.9ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4428
+  (64.6ms) DROP TABLE "extface_serial_configs"
4429
+  (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) 
4430
+  (72.7ms) DROP TABLE "shops"
4431
+  (73.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4432
+  (0.2ms) SELECT version FROM "schema_migrations"
4433
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4434
+  (88.7ms) DROP TABLE "extface_devices"
4435
+  (87.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4436
+  (72.8ms) DROP TABLE "extface_drivers"
4437
+  (59.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4438
+  (56.2ms) DROP TABLE "extface_jobs"
4439
+  (65.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4440
+  (0.2ms) select sqlite_version(*)
4441
+  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4442
+  (56.5ms) DROP TABLE "extface_serial_configs"
4443
+  (65.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4444
+  (64.7ms) DROP TABLE "shops"
4445
+  (65.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4446
+  (0.2ms) SELECT version FROM "schema_migrations"
4447
+  (0.1ms) begin transaction
4448
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4449
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 980190962, 258259918)
4450
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374, 599072141)
4451
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
4452
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 980190962, 'Shop', 980190962, 258259918)
4453
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374, 'Shop', 980190962, 599072141)
4454
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 229906743, 'Shop', 980190962, 229906743)
4455
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 40760454, 'Shop', 980190962, 40760454)
4456
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4457
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 258259918)
4458
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 412842077)
4459
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 599072141)
4460
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 229906743)
4461
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:20:54', '2015-12-19 15:20:54', 40760454)
4462
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4463
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 980190962)
4464
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374)
4465
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4466
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:20:54', '2015-12-19 15:20:54', 980190962)
4467
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:20:54', '2015-12-19 15:20:54', 298486374)
4468
+  (56.8ms) commit transaction
4469
+  (0.1ms) begin transaction
4470
+ -----------------------------------------------------
4471
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
4472
+ -----------------------------------------------------
4473
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4474
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4475
+  (0.2ms) rollback transaction
4476
+  (0.1ms) begin transaction
4477
+ ----------------------------------------------
4478
+ Extface::Driver::Datecs::Fp550Test: test_fsend
4479
+ ----------------------------------------------
4480
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4481
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4482
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
4483
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
4484
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
4485
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4486
+  (132.2ms) DROP TABLE "extface_devices"
4487
+  (65.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4488
+  (64.5ms) DROP TABLE "extface_drivers"
4489
+  (65.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4490
+  (56.1ms) DROP TABLE "extface_jobs"
4491
+  (65.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4492
+  (0.2ms) select sqlite_version(*)
4493
+  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4494
+  (56.4ms) DROP TABLE "extface_serial_configs"
4495
+  (98.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4496
+  (73.2ms) DROP TABLE "shops"
4497
+  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4498
+  (0.3ms) SELECT version FROM "schema_migrations"
4499
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4500
+  (116.9ms) DROP TABLE "extface_devices"
4501
+  (65.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4502
+  (64.3ms) DROP TABLE "extface_drivers"
4503
+  (57.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4504
+  (51.1ms) DROP TABLE "extface_jobs"
4505
+  (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) 
4506
+  (0.2ms) select sqlite_version(*)
4507
+  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4508
+  (51.1ms) DROP TABLE "extface_serial_configs"
4509
+  (62.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4510
+  (56.2ms) DROP TABLE "shops"
4511
+  (57.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4512
+  (0.2ms) SELECT version FROM "schema_migrations"
4513
+  (0.1ms) begin transaction
4514
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4515
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:22:00', '2015-12-19 15:22:00', 980190962, 258259918)
4516
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374, 599072141)
4517
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4518
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 980190962, 'Shop', 980190962, 258259918)
4519
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374, 'Shop', 980190962, 599072141)
4520
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 229906743, 'Shop', 980190962, 229906743)
4521
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 40760454, 'Shop', 980190962, 40760454)
4522
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4523
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 258259918)
4524
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 412842077)
4525
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 599072141)
4526
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 229906743)
4527
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:22:00', '2015-12-19 15:22:00', 40760454)
4528
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4529
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:22:00', '2015-12-19 15:22:00', 980190962)
4530
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374)
4531
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4532
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:22:00', '2015-12-19 15:22:00', 980190962)
4533
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:22:00', '2015-12-19 15:22:00', 298486374)
4534
+  (53.2ms) commit transaction
4535
+  (0.2ms) begin transaction
4536
+ -----------------------------------------------
4537
+ Extface::Driver::Datecs::Fp550Test: test_handle
4538
+ -----------------------------------------------
4539
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
4540
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
4541
+  (0.1ms) rollback transaction
4542
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4543
+  (72.6ms) DROP TABLE "extface_devices"
4544
+  (65.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4545
+  (64.5ms) DROP TABLE "extface_drivers"
4546
+  (65.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4547
+  (56.3ms) DROP TABLE "extface_jobs"
4548
+  (65.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4549
+  (0.3ms) select sqlite_version(*)
4550
+  (97.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4551
+  (89.2ms) DROP TABLE "extface_serial_configs"
4552
+  (62.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4553
+  (64.6ms) DROP TABLE "shops"
4554
+  (84.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4555
+  (0.2ms) SELECT version FROM "schema_migrations"
4556
+  (0.1ms) begin transaction
4557
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4558
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:24:13', '2015-12-19 15:24:13', 980190962, 258259918)
4559
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374, 599072141)
4560
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4561
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 980190962, 'Shop', 980190962, 258259918)
4562
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374, 'Shop', 980190962, 599072141)
4563
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 229906743, 'Shop', 980190962, 229906743)
4564
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 40760454, 'Shop', 980190962, 40760454)
4565
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4566
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 258259918)
4567
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 412842077)
4568
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 599072141)
4569
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 229906743)
4570
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:24:13', '2015-12-19 15:24:13', 40760454)
4571
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4572
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:24:13', '2015-12-19 15:24:13', 980190962)
4573
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374)
4574
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4575
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:24:13', '2015-12-19 15:24:13', 980190962)
4576
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:24:13', '2015-12-19 15:24:13', 298486374)
4577
+  (53.8ms) commit transaction
4578
+  (0.1ms) begin transaction
4579
+ ---------------------------------------------
4580
+ Extface::Driver::DaisyFx1200Test: test_handle
4581
+ ---------------------------------------------
4582
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4583
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4584
+  (0.1ms) rollback transaction
4585
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4586
+  (84.8ms) DROP TABLE "extface_devices"
4587
+  (81.7ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4588
+  (81.0ms) DROP TABLE "extface_drivers"
4589
+  (81.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4590
+  (72.9ms) DROP TABLE "extface_jobs"
4591
+  (81.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4592
+  (0.2ms) select sqlite_version(*)
4593
+  (53.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4594
+  (73.8ms) DROP TABLE "extface_serial_configs"
4595
+  (72.5ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4596
+  (56.2ms) DROP TABLE "shops"
4597
+  (57.1ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4598
+  (0.2ms) SELECT version FROM "schema_migrations"
4599
+  (0.1ms) begin transaction
4600
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4601
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:26:28', '2015-12-19 15:26:28', 980190962, 258259918)
4602
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374, 599072141)
4603
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4604
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 980190962, 'Shop', 980190962, 258259918)
4605
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374, 'Shop', 980190962, 599072141)
4606
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 229906743, 'Shop', 980190962, 229906743)
4607
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 40760454, 'Shop', 980190962, 40760454)
4608
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4609
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 258259918)
4610
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 412842077)
4611
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 599072141)
4612
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 229906743)
4613
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:26:28', '2015-12-19 15:26:28', 40760454)
4614
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4615
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:28', '2015-12-19 15:26:28', 980190962)
4616
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374)
4617
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4618
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:28', '2015-12-19 15:26:28', 980190962)
4619
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:28', '2015-12-19 15:26:28', 298486374)
4620
+  (49.0ms) commit transaction
4621
+  (0.1ms) begin transaction
4622
+ ---------------------------------------------
4623
+ Extface::Driver::DaisyFx1200Test: test_handle
4624
+ ---------------------------------------------
4625
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4626
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4627
+  (0.1ms) rollback transaction
4628
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4629
+  (102.8ms) DROP TABLE "extface_devices"
4630
+  (84.7ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4631
+  (61.5ms) DROP TABLE "extface_drivers"
4632
+  (56.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4633
+  (83.8ms) DROP TABLE "extface_jobs"
4634
+  (89.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4635
+  (0.2ms) select sqlite_version(*)
4636
+  (61.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4637
+  (50.9ms) DROP TABLE "extface_serial_configs"
4638
+  (53.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4639
+  (56.3ms) DROP TABLE "shops"
4640
+  (57.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4641
+  (0.3ms) SELECT version FROM "schema_migrations"
4642
+  (0.1ms) begin transaction
4643
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4644
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:26:50', '2015-12-19 15:26:50', 980190962, 258259918)
4645
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374, 599072141)
4646
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
4647
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 980190962, 'Shop', 980190962, 258259918)
4648
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374, 'Shop', 980190962, 599072141)
4649
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 229906743, 'Shop', 980190962, 229906743)
4650
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 40760454, 'Shop', 980190962, 40760454)
4651
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
4652
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 258259918)
4653
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 412842077)
4654
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 599072141)
4655
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 229906743)
4656
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:26:50', '2015-12-19 15:26:50', 40760454)
4657
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4658
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:50', '2015-12-19 15:26:50', 980190962)
4659
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374)
4660
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4661
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:50', '2015-12-19 15:26:50', 980190962)
4662
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:26:50', '2015-12-19 15:26:50', 298486374)
4663
+  (51.2ms) commit transaction
4664
+  (0.1ms) begin transaction
4665
+ ---------------------------------------------
4666
+ Extface::Driver::DaisyFx1200Test: test_handle
4667
+ ---------------------------------------------
4668
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4669
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4670
+  (0.2ms) rollback transaction
4671
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4672
+  (91.6ms) DROP TABLE "extface_devices"
4673
+  (65.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4674
+  (64.5ms) DROP TABLE "extface_drivers"
4675
+  (65.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4676
+  (59.3ms) DROP TABLE "extface_jobs"
4677
+  (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) 
4678
+  (0.2ms) select sqlite_version(*)
4679
+  (75.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4680
+  (56.6ms) DROP TABLE "extface_serial_configs"
4681
+  (73.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4682
+  (72.9ms) DROP TABLE "shops"
4683
+  (62.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4684
+  (0.2ms) SELECT version FROM "schema_migrations"
4685
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4686
+  (79.3ms) DROP TABLE "extface_devices"
4687
+  (65.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4688
+  (64.5ms) DROP TABLE "extface_drivers"
4689
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4690
+  (56.3ms) DROP TABLE "extface_jobs"
4691
+  (65.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4692
+  (0.2ms) select sqlite_version(*)
4693
+  (64.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4694
+  (56.4ms) DROP TABLE "extface_serial_configs"
4695
+  (65.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4696
+  (64.9ms) DROP TABLE "shops"
4697
+  (65.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4698
+  (0.2ms) SELECT version FROM "schema_migrations"
4699
+  (0.1ms) begin transaction
4700
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4701
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962, 258259918)
4702
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374, 599072141)
4703
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4704
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962, 'Shop', 980190962, 258259918)
4705
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374, 'Shop', 980190962, 599072141)
4706
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 229906743, 'Shop', 980190962, 229906743)
4707
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 40760454, 'Shop', 980190962, 40760454)
4708
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
4709
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 258259918)
4710
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 412842077)
4711
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 599072141)
4712
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 229906743)
4713
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:43:06', '2015-12-19 15:43:06', 40760454)
4714
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4715
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962)
4716
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374)
4717
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4718
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:43:06', '2015-12-19 15:43:06', 980190962)
4719
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:43:06', '2015-12-19 15:43:06', 298486374)
4720
+  (64.7ms) commit transaction
4721
+  (0.1ms) begin transaction
4722
+ --------------------------------------------
4723
+ Extface::Driver::DaisyFx1200Test: test_fsend
4724
+ --------------------------------------------
4725
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4726
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4727
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
4728
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
4729
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
4730
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4731
+  (93.5ms) DROP TABLE "extface_devices"
4732
+  (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) 
4733
+  (64.7ms) DROP TABLE "extface_drivers"
4734
+  (73.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4735
+  (64.8ms) DROP TABLE "extface_jobs"
4736
+  (89.9ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4737
+  (0.2ms) select sqlite_version(*)
4738
+  (70.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4739
+  (67.2ms) DROP TABLE "extface_serial_configs"
4740
+  (73.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4741
+  (72.8ms) DROP TABLE "shops"
4742
+  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4743
+  (0.2ms) SELECT version FROM "schema_migrations"
4744
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4745
+  (101.0ms) DROP TABLE "extface_devices"
4746
+  (65.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4747
+  (64.5ms) DROP TABLE "extface_drivers"
4748
+  (68.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4749
+  (48.1ms) DROP TABLE "extface_jobs"
4750
+  (65.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4751
+  (0.2ms) select sqlite_version(*)
4752
+  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4753
+  (64.7ms) DROP TABLE "extface_serial_configs"
4754
+  (73.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4755
+  (72.7ms) DROP TABLE "shops"
4756
+  (73.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4757
+  (0.3ms) SELECT version FROM "schema_migrations"
4758
+  (0.1ms) begin transaction
4759
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4760
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:46:59', '2015-12-19 15:46:59', 980190962, 258259918)
4761
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374, 599072141)
4762
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4763
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 980190962, 'Shop', 980190962, 258259918)
4764
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374, 'Shop', 980190962, 599072141)
4765
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 229906743, 'Shop', 980190962, 229906743)
4766
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 40760454, 'Shop', 980190962, 40760454)
4767
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
4768
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 258259918)
4769
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 412842077)
4770
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 599072141)
4771
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 229906743)
4772
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:46:59', '2015-12-19 15:46:59', 40760454)
4773
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4774
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:46:59', '2015-12-19 15:46:59', 980190962)
4775
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374)
4776
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4777
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:46:59', '2015-12-19 15:46:59', 980190962)
4778
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:46:59', '2015-12-19 15:46:59', 298486374)
4779
+  (76.0ms) commit transaction
4780
+  (0.2ms) begin transaction
4781
+ -----------------------------------------------------
4782
+ Extface::Driver::DaisyFx1200Test: test_response_frame
4783
+ -----------------------------------------------------
4784
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4785
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4786
+  (0.1ms) rollback transaction
4787
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4788
+  (89.9ms) DROP TABLE "extface_devices"
4789
+  (65.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4790
+  (65.0ms) DROP TABLE "extface_drivers"
4791
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4792
+  (56.2ms) DROP TABLE "extface_jobs"
4793
+  (65.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4794
+  (0.3ms) select sqlite_version(*)
4795
+  (63.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4796
+  (64.6ms) DROP TABLE "extface_serial_configs"
4797
+  (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) 
4798
+  (72.8ms) DROP TABLE "shops"
4799
+  (73.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4800
+  (0.2ms) SELECT version FROM "schema_migrations"
4801
+  (0.1ms) begin transaction
4802
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4803
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962, 258259918)
4804
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374, 599072141)
4805
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4806
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962, 'Shop', 980190962, 258259918)
4807
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374, 'Shop', 980190962, 599072141)
4808
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 229906743, 'Shop', 980190962, 229906743)
4809
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 40760454, 'Shop', 980190962, 40760454)
4810
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4811
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 258259918)
4812
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 412842077)
4813
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 599072141)
4814
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 229906743)
4815
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:47:33', '2015-12-19 15:47:33', 40760454)
4816
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4817
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962)
4818
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374)
4819
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4820
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:47:33', '2015-12-19 15:47:33', 980190962)
4821
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:47:33', '2015-12-19 15:47:33', 298486374)
4822
+  (62.5ms) commit transaction
4823
+  (0.2ms) begin transaction
4824
+ -----------------------------------------------------
4825
+ Extface::Driver::DaisyFx1200Test: test_response_frame
4826
+ -----------------------------------------------------
4827
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4828
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4829
+  (0.1ms) rollback transaction
4830
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4831
+  (98.7ms) DROP TABLE "extface_devices"
4832
+  (65.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4833
+  (64.9ms) DROP TABLE "extface_drivers"
4834
+  (89.8ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4835
+  (130.2ms) DROP TABLE "extface_jobs"
4836
+  (65.4ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4837
+  (0.2ms) select sqlite_version(*)
4838
+  (64.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4839
+  (64.6ms) DROP TABLE "extface_serial_configs"
4840
+  (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) 
4841
+  (78.0ms) DROP TABLE "shops"
4842
+  (85.1ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4843
+  (0.1ms) SELECT version FROM "schema_migrations"
4844
+  (0.1ms) begin transaction
4845
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
4846
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:49:20', '2015-12-19 15:49:20', 980190962, 258259918)
4847
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374, 599072141)
4848
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4849
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 980190962, 'Shop', 980190962, 258259918)
4850
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374, 'Shop', 980190962, 599072141)
4851
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 229906743, 'Shop', 980190962, 229906743)
4852
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 40760454, 'Shop', 980190962, 40760454)
4853
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
4854
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 258259918)
4855
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 412842077)
4856
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 599072141)
4857
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 229906743)
4858
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 15:49:20', '2015-12-19 15:49:20', 40760454)
4859
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4860
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:49:20', '2015-12-19 15:49:20', 980190962)
4861
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374)
4862
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4863
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:49:20', '2015-12-19 15:49:20', 980190962)
4864
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 15:49:20', '2015-12-19 15:49:20', 298486374)
4865
+  (76.5ms) commit transaction
4866
+  (0.1ms) begin transaction
4867
+ --------------------------------------------
4868
+ Extface::Driver::DaisyFx1200Test: test_fsend
4869
+ --------------------------------------------
4870
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4871
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4872
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
4873
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
4874
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
4875
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
4876
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
4877
+  (0.5ms) rollback transaction
4878
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4879
+  (153.5ms) DROP TABLE "extface_devices"
4880
+  (57.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4881
+  (56.2ms) DROP TABLE "extface_drivers"
4882
+  (57.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4883
+  (59.4ms) DROP TABLE "extface_jobs"
4884
+  (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) 
4885
+  (0.2ms) select sqlite_version(*)
4886
+  (64.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4887
+  (59.4ms) DROP TABLE "extface_serial_configs"
4888
+  (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) 
4889
+  (81.1ms) DROP TABLE "shops"
4890
+  (65.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4891
+  (0.2ms) SELECT version FROM "schema_migrations"
4892
+  (0.1ms) begin transaction
4893
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4894
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:05:14', '2015-12-19 16:05:14', 980190962, 258259918)
4895
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374, 599072141)
4896
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4897
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 980190962, 'Shop', 980190962, 258259918)
4898
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374, 'Shop', 980190962, 599072141)
4899
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 229906743, 'Shop', 980190962, 229906743)
4900
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 40760454, 'Shop', 980190962, 40760454)
4901
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4902
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 258259918)
4903
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 412842077)
4904
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 599072141)
4905
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 229906743)
4906
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:05:14', '2015-12-19 16:05:14', 40760454)
4907
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4908
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:05:14', '2015-12-19 16:05:14', 980190962)
4909
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374)
4910
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4911
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:05:14', '2015-12-19 16:05:14', 980190962)
4912
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:05:14', '2015-12-19 16:05:14', 298486374)
4913
+  (56.1ms) commit transaction
4914
+  (0.1ms) begin transaction
4915
+ --------------------------------------------
4916
+ Extface::Driver::DaisyFx1200Test: test_fsend
4917
+ --------------------------------------------
4918
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4919
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4920
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
4921
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
4922
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
4923
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
4924
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
4925
+  (0.5ms) rollback transaction
4926
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4927
+  (83.6ms) DROP TABLE "extface_devices"
4928
+  (65.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4929
+  (64.7ms) DROP TABLE "extface_drivers"
4930
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4931
+  (56.5ms) DROP TABLE "extface_jobs"
4932
+  (65.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4933
+  (0.2ms) select sqlite_version(*)
4934
+  (72.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4935
+  (56.3ms) DROP TABLE "extface_serial_configs"
4936
+  (65.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4937
+  (72.6ms) DROP TABLE "shops"
4938
+  (73.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4939
+  (0.2ms) SELECT version FROM "schema_migrations"
4940
+  (0.1ms) begin transaction
4941
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4942
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962, 258259918)
4943
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374, 599072141)
4944
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4945
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962, 'Shop', 980190962, 258259918)
4946
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374, 'Shop', 980190962, 599072141)
4947
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 229906743, 'Shop', 980190962, 229906743)
4948
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 40760454, 'Shop', 980190962, 40760454)
4949
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
4950
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 258259918)
4951
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 412842077)
4952
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 599072141)
4953
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 229906743)
4954
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:11:25', '2015-12-19 16:11:25', 40760454)
4955
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
4956
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962)
4957
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374)
4958
+ Fixture Delete (0.1ms) DELETE FROM "shops"
4959
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:11:25', '2015-12-19 16:11:25', 980190962)
4960
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:11:25', '2015-12-19 16:11:25', 298486374)
4961
+  (76.4ms) commit transaction
4962
+  (0.1ms) begin transaction
4963
+ --------------------------------------------
4964
+ Extface::Driver::DaisyFx1200Test: test_fsend
4965
+ --------------------------------------------
4966
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
4967
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
4968
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
4969
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
4970
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
4971
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
4972
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
4973
+  (0.3ms) rollback transaction
4974
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4975
+  (95.4ms) DROP TABLE "extface_devices"
4976
+  (73.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
4977
+  (73.0ms) DROP TABLE "extface_drivers"
4978
+  (73.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
4979
+  (64.4ms) DROP TABLE "extface_jobs"
4980
+  (73.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
4981
+  (0.2ms) select sqlite_version(*)
4982
+  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
4983
+  (56.4ms) DROP TABLE "extface_serial_configs"
4984
+  (65.1ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
4985
+  (64.6ms) DROP TABLE "shops"
4986
+  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
4987
+  (0.2ms) SELECT version FROM "schema_migrations"
4988
+  (0.1ms) begin transaction
4989
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
4990
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 980190962, 258259918)
4991
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374, 599072141)
4992
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
4993
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 980190962, 'Shop', 980190962, 258259918)
4994
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374, 'Shop', 980190962, 599072141)
4995
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 229906743, 'Shop', 980190962, 229906743)
4996
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 40760454, 'Shop', 980190962, 40760454)
4997
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
4998
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 258259918)
4999
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 412842077)
5000
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 599072141)
5001
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 229906743)
5002
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:13:28', '2015-12-19 16:13:28', 40760454)
5003
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5004
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 980190962)
5005
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374)
5006
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5007
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:13:28', '2015-12-19 16:13:28', 980190962)
5008
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:13:28', '2015-12-19 16:13:28', 298486374)
5009
+  (59.0ms) commit transaction
5010
+  (0.1ms) begin transaction
5011
+ --------------------------------------------
5012
+ Extface::Driver::DaisyFx1200Test: test_fsend
5013
+ --------------------------------------------
5014
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5015
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5016
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5017
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5018
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5019
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5020
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5021
+  (0.3ms) rollback transaction
5022
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5023
+  (104.2ms) DROP TABLE "extface_devices"
5024
+  (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) 
5025
+  (64.6ms) DROP TABLE "extface_drivers"
5026
+  (65.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5027
+  (64.4ms) DROP TABLE "extface_jobs"
5028
+  (73.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5029
+  (0.2ms) select sqlite_version(*)
5030
+  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5031
+  (64.8ms) DROP TABLE "extface_serial_configs"
5032
+  (73.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5033
+  (72.8ms) DROP TABLE "shops"
5034
+  (73.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5035
+  (0.2ms) SELECT version FROM "schema_migrations"
5036
+  (0.1ms) begin transaction
5037
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5038
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:14:51', '2015-12-19 16:14:51', 980190962, 258259918)
5039
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374, 599072141)
5040
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5041
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 980190962, 'Shop', 980190962, 258259918)
5042
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374, 'Shop', 980190962, 599072141)
5043
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 229906743, 'Shop', 980190962, 229906743)
5044
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 40760454, 'Shop', 980190962, 40760454)
5045
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5046
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 258259918)
5047
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 412842077)
5048
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 599072141)
5049
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 229906743)
5050
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:14:51', '2015-12-19 16:14:51', 40760454)
5051
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5052
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:14:51', '2015-12-19 16:14:51', 980190962)
5053
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374)
5054
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5055
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:14:51', '2015-12-19 16:14:51', 980190962)
5056
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:14:51', '2015-12-19 16:14:51', 298486374)
5057
+  (62.2ms) commit transaction
5058
+  (0.2ms) begin transaction
5059
+ --------------------------------------------
5060
+ Extface::Driver::DaisyFx1200Test: test_fsend
5061
+ --------------------------------------------
5062
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5063
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5064
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5065
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5066
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5067
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5068
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5069
+  (0.3ms) rollback transaction
5070
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5071
+  (93.5ms) DROP TABLE "extface_devices"
5072
+  (65.2ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5073
+  (75.8ms) DROP TABLE "extface_drivers"
5074
+  (54.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5075
+  (50.8ms) DROP TABLE "extface_jobs"
5076
+  (54.0ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5077
+  (0.2ms) select sqlite_version(*)
5078
+  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5079
+  (59.4ms) DROP TABLE "extface_serial_configs"
5080
+  (65.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5081
+  (64.6ms) DROP TABLE "shops"
5082
+  (65.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5083
+  (0.3ms) SELECT version FROM "schema_migrations"
5084
+  (0.1ms) begin transaction
5085
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5086
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:47:46', '2015-12-19 16:47:46', 980190962, 258259918)
5087
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374, 599072141)
5088
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
5089
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 980190962, 'Shop', 980190962, 258259918)
5090
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374, 'Shop', 980190962, 599072141)
5091
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 229906743, 'Shop', 980190962, 229906743)
5092
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 40760454, 'Shop', 980190962, 40760454)
5093
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
5094
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 258259918)
5095
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 412842077)
5096
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 599072141)
5097
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 229906743)
5098
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:47:46', '2015-12-19 16:47:46', 40760454)
5099
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5100
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:47:46', '2015-12-19 16:47:46', 980190962)
5101
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374)
5102
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5103
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:47:46', '2015-12-19 16:47:46', 980190962)
5104
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:47:46', '2015-12-19 16:47:46', 298486374)
5105
+  (58.8ms) commit transaction
5106
+  (0.1ms) begin transaction
5107
+ --------------------------------------------
5108
+ Extface::Driver::DaisyFx1200Test: test_fsend
5109
+ --------------------------------------------
5110
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5111
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5112
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5113
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5114
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5115
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5116
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5117
+  (0.2ms) rollback transaction
5118
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5119
+  (128.9ms) DROP TABLE "extface_devices"
5120
+  (53.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5121
+  (67.5ms) DROP TABLE "extface_drivers"
5122
+  (53.9ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5123
+  (51.1ms) DROP TABLE "extface_jobs"
5124
+  (62.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5125
+  (0.2ms) select sqlite_version(*)
5126
+  (64.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5127
+  (58.3ms) DROP TABLE "extface_serial_configs"
5128
+  (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) 
5129
+  (64.5ms) DROP TABLE "shops"
5130
+  (65.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5131
+  (0.3ms) SELECT version FROM "schema_migrations"
5132
+  (0.1ms) begin transaction
5133
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
5134
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962, 258259918)
5135
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374, 599072141)
5136
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
5137
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962, 'Shop', 980190962, 258259918)
5138
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374, 'Shop', 980190962, 599072141)
5139
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 229906743, 'Shop', 980190962, 229906743)
5140
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 40760454, 'Shop', 980190962, 40760454)
5141
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
5142
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 258259918)
5143
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 412842077)
5144
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 599072141)
5145
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 229906743)
5146
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:51:19', '2015-12-19 16:51:19', 40760454)
5147
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5148
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962)
5149
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374)
5150
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5151
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:51:19', '2015-12-19 16:51:19', 980190962)
5152
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:51:19', '2015-12-19 16:51:19', 298486374)
5153
+  (138.9ms) commit transaction
5154
+  (0.2ms) begin transaction
5155
+ --------------------------------------------
5156
+ Extface::Driver::DaisyFx1200Test: test_fsend
5157
+ --------------------------------------------
5158
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5159
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5160
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5161
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5162
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5163
+  (0.3ms) rollback transaction
5164
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5165
+  (109.0ms) DROP TABLE "extface_devices"
5166
+  (73.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5167
+  (64.6ms) DROP TABLE "extface_drivers"
5168
+  (65.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5169
+  (56.0ms) DROP TABLE "extface_jobs"
5170
+  (73.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5171
+  (0.2ms) select sqlite_version(*)
5172
+  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5173
+  (48.0ms) DROP TABLE "extface_serial_configs"
5174
+  (65.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5175
+  (64.6ms) DROP TABLE "shops"
5176
+  (65.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5177
+  (0.2ms) SELECT version FROM "schema_migrations"
5178
+  (0.2ms) begin transaction
5179
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5180
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:52:35', '2015-12-19 16:52:35', 980190962, 258259918)
5181
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374, 599072141)
5182
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5183
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 980190962, 'Shop', 980190962, 258259918)
5184
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374, 'Shop', 980190962, 599072141)
5185
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 229906743, 'Shop', 980190962, 229906743)
5186
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 40760454, 'Shop', 980190962, 40760454)
5187
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5188
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 258259918)
5189
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 412842077)
5190
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 599072141)
5191
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 229906743)
5192
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:52:35', '2015-12-19 16:52:35', 40760454)
5193
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5194
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:52:35', '2015-12-19 16:52:35', 980190962)
5195
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374)
5196
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5197
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:52:35', '2015-12-19 16:52:35', 980190962)
5198
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:52:35', '2015-12-19 16:52:35', 298486374)
5199
+  (60.1ms) commit transaction
5200
+  (0.1ms) begin transaction
5201
+ --------------------------------------------
5202
+ Extface::Driver::DaisyFx1200Test: test_fsend
5203
+ --------------------------------------------
5204
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5205
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5206
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5207
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5208
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5209
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5210
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5211
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5212
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5213
+  (0.3ms) rollback transaction
5214
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5215
+  (98.7ms) DROP TABLE "extface_devices"
5216
+  (70.6ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5217
+  (64.4ms) DROP TABLE "extface_drivers"
5218
+  (65.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5219
+  (59.7ms) DROP TABLE "extface_jobs"
5220
+  (73.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5221
+  (0.4ms) select sqlite_version(*)
5222
+  (127.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5223
+  (58.3ms) DROP TABLE "extface_serial_configs"
5224
+  (73.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5225
+  (72.9ms) DROP TABLE "shops"
5226
+  (65.2ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5227
+  (0.2ms) SELECT version FROM "schema_migrations"
5228
+  (0.1ms) begin transaction
5229
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5230
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962, 258259918)
5231
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374, 599072141)
5232
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5233
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962, 'Shop', 980190962, 258259918)
5234
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374, 'Shop', 980190962, 599072141)
5235
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 229906743, 'Shop', 980190962, 229906743)
5236
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 40760454, 'Shop', 980190962, 40760454)
5237
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5238
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 258259918)
5239
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 412842077)
5240
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 599072141)
5241
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 229906743)
5242
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:54:08', '2015-12-19 16:54:08', 40760454)
5243
+ Fixture Delete (0.2ms) DELETE FROM "extface_jobs"
5244
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962)
5245
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374)
5246
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5247
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:54:08', '2015-12-19 16:54:08', 980190962)
5248
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:54:08', '2015-12-19 16:54:08', 298486374)
5249
+  (48.6ms) commit transaction
5250
+  (0.1ms) begin transaction
5251
+ --------------------------------------------
5252
+ Extface::Driver::DaisyFx1200Test: test_fsend
5253
+ --------------------------------------------
5254
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5255
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5256
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5257
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5258
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5259
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5260
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5261
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5262
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5263
+  (0.3ms) rollback transaction
5264
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5265
+  (97.5ms) DROP TABLE "extface_devices"
5266
+  (65.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5267
+  (65.0ms) DROP TABLE "extface_drivers"
5268
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5269
+  (59.2ms) DROP TABLE "extface_jobs"
5270
+  (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) 
5271
+  (0.2ms) select sqlite_version(*)
5272
+  (75.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5273
+  (56.3ms) DROP TABLE "extface_serial_configs"
5274
+  (73.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5275
+  (72.8ms) DROP TABLE "shops"
5276
+  (73.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5277
+  (0.2ms) SELECT version FROM "schema_migrations"
5278
+  (0.1ms) begin transaction
5279
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5280
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:57:12', '2015-12-19 16:57:12', 980190962, 258259918)
5281
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374, 599072141)
5282
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
5283
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 980190962, 'Shop', 980190962, 258259918)
5284
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374, 'Shop', 980190962, 599072141)
5285
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 229906743, 'Shop', 980190962, 229906743)
5286
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 40760454, 'Shop', 980190962, 40760454)
5287
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
5288
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 258259918)
5289
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 412842077)
5290
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 599072141)
5291
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 229906743)
5292
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:57:12', '2015-12-19 16:57:12', 40760454)
5293
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5294
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:57:12', '2015-12-19 16:57:12', 980190962)
5295
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374)
5296
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5297
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:57:12', '2015-12-19 16:57:12', 980190962)
5298
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:57:12', '2015-12-19 16:57:12', 298486374)
5299
+  (51.0ms) commit transaction
5300
+  (0.2ms) begin transaction
5301
+ --------------------------------------------
5302
+ Extface::Driver::DaisyFx1200Test: test_fsend
5303
+ --------------------------------------------
5304
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5305
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5306
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5307
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5308
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5309
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5310
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5311
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5312
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5313
+  (0.4ms) rollback transaction
5314
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5315
+  (110.3ms) DROP TABLE "extface_devices"
5316
+  (73.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5317
+  (72.7ms) DROP TABLE "extface_drivers"
5318
+  (73.7ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5319
+  (64.3ms) DROP TABLE "extface_jobs"
5320
+  (73.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5321
+  (0.2ms) select sqlite_version(*)
5322
+  (72.7ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5323
+  (64.5ms) DROP TABLE "extface_serial_configs"
5324
+  (73.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5325
+  (64.7ms) DROP TABLE "shops"
5326
+  (65.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5327
+  (0.2ms) SELECT version FROM "schema_migrations"
5328
+  (0.2ms) begin transaction
5329
+ Fixture Delete (0.3ms) DELETE FROM "extface_serial_configs"
5330
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:58:07', '2015-12-19 16:58:07', 980190962, 258259918)
5331
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374, 599072141)
5332
+ Fixture Delete (0.2ms) DELETE FROM "extface_devices"
5333
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 980190962, 'Shop', 980190962, 258259918)
5334
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374, 'Shop', 980190962, 599072141)
5335
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 229906743, 'Shop', 980190962, 229906743)
5336
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 40760454, 'Shop', 980190962, 40760454)
5337
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5338
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 258259918)
5339
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 412842077)
5340
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 599072141)
5341
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 229906743)
5342
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:58:07', '2015-12-19 16:58:07', 40760454)
5343
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5344
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:07', '2015-12-19 16:58:07', 980190962)
5345
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374)
5346
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5347
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:07', '2015-12-19 16:58:07', 980190962)
5348
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:07', '2015-12-19 16:58:07', 298486374)
5349
+  (59.4ms) commit transaction
5350
+  (0.1ms) begin transaction
5351
+ --------------------------------------------
5352
+ Extface::Driver::DaisyFx1200Test: test_fsend
5353
+ --------------------------------------------
5354
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5355
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5356
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5357
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5358
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5359
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5360
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5361
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5362
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5363
+  (0.2ms) rollback transaction
5364
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5365
+  (100.5ms) DROP TABLE "extface_devices"
5366
+  (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) 
5367
+  (72.8ms) DROP TABLE "extface_drivers"
5368
+  (73.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5369
+  (64.5ms) DROP TABLE "extface_jobs"
5370
+  (73.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5371
+  (0.2ms) select sqlite_version(*)
5372
+  (73.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5373
+  (64.4ms) DROP TABLE "extface_serial_configs"
5374
+  (81.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5375
+  (72.9ms) DROP TABLE "shops"
5376
+  (73.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5377
+  (0.2ms) SELECT version FROM "schema_migrations"
5378
+  (0.1ms) begin transaction
5379
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5380
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:58:35', '2015-12-19 16:58:35', 980190962, 258259918)
5381
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374, 599072141)
5382
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5383
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 980190962, 'Shop', 980190962, 258259918)
5384
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374, 'Shop', 980190962, 599072141)
5385
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 229906743, 'Shop', 980190962, 229906743)
5386
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 40760454, 'Shop', 980190962, 40760454)
5387
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
5388
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 258259918)
5389
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 412842077)
5390
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 599072141)
5391
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 229906743)
5392
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 16:58:35', '2015-12-19 16:58:35', 40760454)
5393
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5394
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:35', '2015-12-19 16:58:35', 980190962)
5395
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374)
5396
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5397
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:35', '2015-12-19 16:58:35', 980190962)
5398
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 16:58:35', '2015-12-19 16:58:35', 298486374)
5399
+  (60.1ms) commit transaction
5400
+  (0.1ms) begin transaction
5401
+ --------------------------------------------
5402
+ Extface::Driver::DaisyFx1200Test: test_fsend
5403
+ --------------------------------------------
5404
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5405
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5406
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5407
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5408
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5409
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5410
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5411
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5412
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5413
+  (0.3ms) rollback transaction
5414
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5415
+  (71.2ms) DROP TABLE "extface_devices"
5416
+  (57.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5417
+  (56.0ms) DROP TABLE "extface_drivers"
5418
+  (57.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5419
+  (51.0ms) DROP TABLE "extface_jobs"
5420
+  (54.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5421
+  (0.2ms) select sqlite_version(*)
5422
+  (56.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5423
+  (51.2ms) DROP TABLE "extface_serial_configs"
5424
+  (53.9ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5425
+  (64.6ms) DROP TABLE "shops"
5426
+  (65.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5427
+  (0.2ms) SELECT version FROM "schema_migrations"
5428
+  (0.1ms) begin transaction
5429
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5430
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:01:07', '2015-12-19 17:01:07', 980190962, 258259918)
5431
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374, 599072141)
5432
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5433
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 980190962, 'Shop', 980190962, 258259918)
5434
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374, 'Shop', 980190962, 599072141)
5435
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 229906743, 'Shop', 980190962, 229906743)
5436
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 40760454, 'Shop', 980190962, 40760454)
5437
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
5438
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 258259918)
5439
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 412842077)
5440
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 599072141)
5441
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 229906743)
5442
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:01:07', '2015-12-19 17:01:07', 40760454)
5443
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5444
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:01:07', '2015-12-19 17:01:07', 980190962)
5445
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374)
5446
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5447
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:01:07', '2015-12-19 17:01:07', 980190962)
5448
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:01:07', '2015-12-19 17:01:07', 298486374)
5449
+  (62.2ms) commit transaction
5450
+  (0.1ms) begin transaction
5451
+ --------------------------------------------
5452
+ Extface::Driver::DaisyFx1200Test: test_fsend
5453
+ --------------------------------------------
5454
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5455
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5456
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5457
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5458
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5459
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5460
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5461
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5462
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5463
+  (0.3ms) rollback transaction
5464
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5465
+  (64.6ms) DROP TABLE "extface_devices"
5466
+  (65.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5467
+  (61.5ms) DROP TABLE "extface_drivers"
5468
+  (60.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5469
+  (56.7ms) DROP TABLE "extface_jobs"
5470
+  (65.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5471
+  (0.2ms) select sqlite_version(*)
5472
+  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5473
+  (56.3ms) DROP TABLE "extface_serial_configs"
5474
+  (73.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5475
+  (64.7ms) DROP TABLE "shops"
5476
+  (65.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5477
+  (0.2ms) SELECT version FROM "schema_migrations"
5478
+  (0.2ms) begin transaction
5479
+ Fixture Delete (0.3ms) DELETE FROM "extface_serial_configs"
5480
+ Fixture Insert (0.3ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:02:41', '2015-12-19 17:02:41', 980190962, 258259918)
5481
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374, 599072141)
5482
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5483
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 980190962, 'Shop', 980190962, 258259918)
5484
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374, 'Shop', 980190962, 599072141)
5485
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 229906743, 'Shop', 980190962, 229906743)
5486
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 40760454, 'Shop', 980190962, 40760454)
5487
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5488
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 258259918)
5489
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 412842077)
5490
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 599072141)
5491
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 229906743)
5492
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:02:41', '2015-12-19 17:02:41', 40760454)
5493
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5494
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:02:41', '2015-12-19 17:02:41', 980190962)
5495
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374)
5496
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5497
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:02:41', '2015-12-19 17:02:41', 980190962)
5498
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:02:41', '2015-12-19 17:02:41', 298486374)
5499
+  (56.8ms) commit transaction
5500
+  (0.1ms) begin transaction
5501
+ --------------------------------------------
5502
+ Extface::Driver::DaisyFx1200Test: test_fsend
5503
+ --------------------------------------------
5504
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5505
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5506
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5507
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5508
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5509
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5510
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5511
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5512
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5513
+  (0.3ms) rollback transaction
5514
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5515
+  (99.2ms) DROP TABLE "extface_devices"
5516
+  (65.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5517
+  (64.5ms) DROP TABLE "extface_drivers"
5518
+  (65.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5519
+  (48.1ms) DROP TABLE "extface_jobs"
5520
+  (65.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5521
+  (0.2ms) select sqlite_version(*)
5522
+  (78.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5523
+  (59.1ms) DROP TABLE "extface_serial_configs"
5524
+  (73.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5525
+  (72.9ms) DROP TABLE "shops"
5526
+  (62.1ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5527
+  (0.2ms) SELECT version FROM "schema_migrations"
5528
+  (0.1ms) begin transaction
5529
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5530
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:04:16', '2015-12-19 17:04:16', 980190962, 258259918)
5531
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374, 599072141)
5532
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5533
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 980190962, 'Shop', 980190962, 258259918)
5534
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374, 'Shop', 980190962, 599072141)
5535
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 229906743, 'Shop', 980190962, 229906743)
5536
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 40760454, 'Shop', 980190962, 40760454)
5537
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5538
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 258259918)
5539
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 412842077)
5540
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 599072141)
5541
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 229906743)
5542
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:04:16', '2015-12-19 17:04:16', 40760454)
5543
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5544
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:04:16', '2015-12-19 17:04:16', 980190962)
5545
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374)
5546
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5547
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:04:16', '2015-12-19 17:04:16', 980190962)
5548
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:04:16', '2015-12-19 17:04:16', 298486374)
5549
+  (66.6ms) commit transaction
5550
+  (0.1ms) begin transaction
5551
+ --------------------------------------------
5552
+ Extface::Driver::DaisyFx1200Test: test_fsend
5553
+ --------------------------------------------
5554
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5555
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5556
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5557
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5558
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5559
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5560
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5561
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5562
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5563
+  (0.2ms) rollback transaction
5564
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5565
+  (97.2ms) DROP TABLE "extface_devices"
5566
+  (65.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5567
+  (64.5ms) DROP TABLE "extface_drivers"
5568
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5569
+  (50.7ms) DROP TABLE "extface_jobs"
5570
+  (54.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5571
+  (0.2ms) select sqlite_version(*)
5572
+  (56.0ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5573
+  (51.0ms) DROP TABLE "extface_serial_configs"
5574
+  (65.1ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5575
+  (64.5ms) DROP TABLE "shops"
5576
+  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5577
+  (0.2ms) SELECT version FROM "schema_migrations"
5578
+  (0.1ms) begin transaction
5579
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5580
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962, 258259918)
5581
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374, 599072141)
5582
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5583
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962, 'Shop', 980190962, 258259918)
5584
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374, 'Shop', 980190962, 599072141)
5585
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 229906743, 'Shop', 980190962, 229906743)
5586
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 40760454, 'Shop', 980190962, 40760454)
5587
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5588
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 258259918)
5589
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 412842077)
5590
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 599072141)
5591
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 229906743)
5592
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:05:54', '2015-12-19 17:05:54', 40760454)
5593
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5594
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962)
5595
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374)
5596
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5597
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:05:54', '2015-12-19 17:05:54', 980190962)
5598
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:05:54', '2015-12-19 17:05:54', 298486374)
5599
+  (53.5ms) commit transaction
5600
+  (0.1ms) begin transaction
5601
+ --------------------------------------------
5602
+ Extface::Driver::DaisyFx1200Test: test_fsend
5603
+ --------------------------------------------
5604
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5605
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5606
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5607
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5608
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5609
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5610
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5611
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5612
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5613
+  (0.3ms) rollback transaction
5614
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5615
+  (152.3ms) DROP TABLE "extface_devices"
5616
+  (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) 
5617
+  (73.3ms) DROP TABLE "extface_drivers"
5618
+  (73.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5619
+  (56.1ms) DROP TABLE "extface_jobs"
5620
+  (73.3ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5621
+  (0.2ms) select sqlite_version(*)
5622
+  (64.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5623
+  (64.0ms) DROP TABLE "extface_serial_configs"
5624
+  (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) 
5625
+  (64.5ms) DROP TABLE "shops"
5626
+  (57.0ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5627
+  (0.2ms) SELECT version FROM "schema_migrations"
5628
+  (0.1ms) begin transaction
5629
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5630
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962, 258259918)
5631
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374, 599072141)
5632
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5633
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962, 'Shop', 980190962, 258259918)
5634
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374, 'Shop', 980190962, 599072141)
5635
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 229906743, 'Shop', 980190962, 229906743)
5636
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 40760454, 'Shop', 980190962, 40760454)
5637
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5638
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 258259918)
5639
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 412842077)
5640
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 599072141)
5641
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 229906743)
5642
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:10:19', '2015-12-19 17:10:19', 40760454)
5643
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5644
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962)
5645
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374)
5646
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5647
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:10:19', '2015-12-19 17:10:19', 980190962)
5648
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:10:19', '2015-12-19 17:10:19', 298486374)
5649
+  (53.9ms) commit transaction
5650
+  (0.1ms) begin transaction
5651
+ --------------------------------------------
5652
+ Extface::Driver::DaisyFx1200Test: test_fsend
5653
+ --------------------------------------------
5654
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5655
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5656
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5657
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5658
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5659
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5660
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5661
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5662
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5663
+  (0.3ms) rollback transaction
5664
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5665
+  (92.5ms) DROP TABLE "extface_devices"
5666
+  (65.6ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5667
+  (64.5ms) DROP TABLE "extface_drivers"
5668
+  (65.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5669
+  (56.5ms) DROP TABLE "extface_jobs"
5670
+  (65.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5671
+  (0.3ms) select sqlite_version(*)
5672
+  (61.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5673
+  (51.3ms) DROP TABLE "extface_serial_configs"
5674
+  (54.4ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5675
+  (57.2ms) DROP TABLE "shops"
5676
+  (57.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5677
+  (0.1ms) SELECT version FROM "schema_migrations"
5678
+  (0.1ms) begin transaction
5679
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
5680
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:12:30', '2015-12-19 17:12:30', 980190962, 258259918)
5681
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374, 599072141)
5682
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5683
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 980190962, 'Shop', 980190962, 258259918)
5684
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374, 'Shop', 980190962, 599072141)
5685
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 229906743, 'Shop', 980190962, 229906743)
5686
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 40760454, 'Shop', 980190962, 40760454)
5687
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
5688
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 258259918)
5689
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 412842077)
5690
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 599072141)
5691
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 229906743)
5692
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:12:30', '2015-12-19 17:12:30', 40760454)
5693
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5694
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:12:30', '2015-12-19 17:12:30', 980190962)
5695
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374)
5696
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5697
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:12:30', '2015-12-19 17:12:30', 980190962)
5698
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:12:30', '2015-12-19 17:12:30', 298486374)
5699
+  (54.9ms) commit transaction
5700
+  (0.1ms) begin transaction
5701
+ --------------------------------------------
5702
+ Extface::Driver::DaisyFx1200Test: test_fsend
5703
+ --------------------------------------------
5704
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5705
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5706
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5707
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5708
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5709
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5710
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5711
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5712
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5713
+  (0.3ms) rollback transaction
5714
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5715
+  (110.9ms) DROP TABLE "extface_devices"
5716
+  (73.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5717
+  (72.9ms) DROP TABLE "extface_drivers"
5718
+  (73.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5719
+  (64.9ms) DROP TABLE "extface_jobs"
5720
+  (73.7ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5721
+  (0.3ms) select sqlite_version(*)
5722
+  (72.8ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5723
+  (65.0ms) DROP TABLE "extface_serial_configs"
5724
+  (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) 
5725
+  (64.9ms) DROP TABLE "shops"
5726
+  (65.7ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5727
+  (0.2ms) SELECT version FROM "schema_migrations"
5728
+  (0.1ms) begin transaction
5729
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5730
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:14:43', '2015-12-19 17:14:43', 980190962, 258259918)
5731
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374, 599072141)
5732
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5733
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 980190962, 'Shop', 980190962, 258259918)
5734
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374, 'Shop', 980190962, 599072141)
5735
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 229906743, 'Shop', 980190962, 229906743)
5736
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 40760454, 'Shop', 980190962, 40760454)
5737
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5738
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 258259918)
5739
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 412842077)
5740
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 599072141)
5741
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 229906743)
5742
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:14:43', '2015-12-19 17:14:43', 40760454)
5743
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5744
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:14:43', '2015-12-19 17:14:43', 980190962)
5745
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374)
5746
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5747
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:14:43', '2015-12-19 17:14:43', 980190962)
5748
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:14:43', '2015-12-19 17:14:43', 298486374)
5749
+  (57.8ms) commit transaction
5750
+  (0.1ms) begin transaction
5751
+ --------------------------------------------
5752
+ Extface::Driver::DaisyFx1200Test: test_fsend
5753
+ --------------------------------------------
5754
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5755
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5756
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5757
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5758
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5759
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5760
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5761
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5762
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5763
+  (0.3ms) rollback transaction
5764
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5765
+  (89.9ms) DROP TABLE "extface_devices"
5766
+  (60.1ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5767
+  (62.4ms) DROP TABLE "extface_drivers"
5768
+  (65.4ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5769
+  (59.6ms) DROP TABLE "extface_jobs"
5770
+  (54.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5771
+  (0.2ms) select sqlite_version(*)
5772
+  (56.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5773
+  (51.4ms) DROP TABLE "extface_serial_configs"
5774
+  (54.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5775
+  (56.8ms) DROP TABLE "shops"
5776
+  (68.4ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5777
+  (0.1ms) SELECT version FROM "schema_migrations"
5778
+  (0.1ms) begin transaction
5779
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
5780
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:15:53', '2015-12-19 17:15:53', 980190962, 258259918)
5781
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:15:53', '2015-12-19 17:15:53', 298486374, 599072141)
5782
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5783
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 980190962, 'Shop', 980190962, 258259918)
5784
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 298486374, 'Shop', 980190962, 599072141)
5785
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 229906743, 'Shop', 980190962, 229906743)
5786
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 40760454, 'Shop', 980190962, 40760454)
5787
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5788
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 258259918)
5789
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 412842077)
5790
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 599072141)
5791
+ Fixture Insert (0.2ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 229906743)
5792
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:15:54', '2015-12-19 17:15:54', 40760454)
5793
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5794
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:15:54', '2015-12-19 17:15:54', 980190962)
5795
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:15:54', '2015-12-19 17:15:54', 298486374)
5796
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5797
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:15:54', '2015-12-19 17:15:54', 980190962)
5798
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:15:54', '2015-12-19 17:15:54', 298486374)
5799
+  (52.3ms) commit transaction
5800
+  (0.1ms) begin transaction
5801
+ --------------------------------------------
5802
+ Extface::Driver::DaisyFx1200Test: test_fsend
5803
+ --------------------------------------------
5804
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5805
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5806
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5807
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5808
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5809
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5810
+ Extface::Job Load (0.0ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5811
+  (0.3ms) rollback transaction
5812
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5813
+  (131.5ms) DROP TABLE "extface_devices"
5814
+  (65.0ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5815
+  (64.6ms) DROP TABLE "extface_drivers"
5816
+  (65.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5817
+  (56.7ms) DROP TABLE "extface_jobs"
5818
+  (62.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5819
+  (0.2ms) select sqlite_version(*)
5820
+  (64.6ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5821
+  (59.3ms) DROP TABLE "extface_serial_configs"
5822
+  (65.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5823
+  (69.7ms) DROP TABLE "shops"
5824
+  (65.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5825
+  (0.3ms) SELECT version FROM "schema_migrations"
5826
+  (0.1ms) begin transaction
5827
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5828
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:18:40', '2015-12-19 17:18:40', 980190962, 258259918)
5829
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374, 599072141)
5830
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5831
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 980190962, 'Shop', 980190962, 258259918)
5832
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374, 'Shop', 980190962, 599072141)
5833
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 229906743, 'Shop', 980190962, 229906743)
5834
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 40760454, 'Shop', 980190962, 40760454)
5835
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5836
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 258259918)
5837
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 412842077)
5838
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 599072141)
5839
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 229906743)
5840
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:18:40', '2015-12-19 17:18:40', 40760454)
5841
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5842
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:18:40', '2015-12-19 17:18:40', 980190962)
5843
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374)
5844
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5845
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:18:40', '2015-12-19 17:18:40', 980190962)
5846
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:18:40', '2015-12-19 17:18:40', 298486374)
5847
+  (49.6ms) commit transaction
5848
+  (0.1ms) begin transaction
5849
+ --------------------------------------------
5850
+ Extface::Driver::DaisyFx1200Test: test_fsend
5851
+ --------------------------------------------
5852
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5853
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5854
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5855
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5856
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5857
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5858
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5859
+  (0.3ms) rollback transaction
5860
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5861
+  (72.3ms) DROP TABLE "extface_devices"
5862
+  (67.9ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5863
+  (69.9ms) DROP TABLE "extface_drivers"
5864
+  (57.0ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5865
+  (51.0ms) DROP TABLE "extface_jobs"
5866
+  (65.2ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5867
+  (0.3ms) select sqlite_version(*)
5868
+  (64.4ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5869
+  (56.4ms) DROP TABLE "extface_serial_configs"
5870
+  (147.8ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5871
+  (64.5ms) DROP TABLE "shops"
5872
+  (65.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5873
+  (0.2ms) SELECT version FROM "schema_migrations"
5874
+  (0.1ms) begin transaction
5875
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5876
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:20:41', '2015-12-19 17:20:41', 980190962, 258259918)
5877
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374, 599072141)
5878
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5879
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 980190962, 'Shop', 980190962, 258259918)
5880
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374, 'Shop', 980190962, 599072141)
5881
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 229906743, 'Shop', 980190962, 229906743)
5882
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 40760454, 'Shop', 980190962, 40760454)
5883
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5884
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 258259918)
5885
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 412842077)
5886
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 599072141)
5887
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 229906743)
5888
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:20:41', '2015-12-19 17:20:41', 40760454)
5889
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5890
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:20:41', '2015-12-19 17:20:41', 980190962)
5891
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374)
5892
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5893
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:20:41', '2015-12-19 17:20:41', 980190962)
5894
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:20:41', '2015-12-19 17:20:41', 298486374)
5895
+  (50.4ms) commit transaction
5896
+  (0.2ms) begin transaction
5897
+ --------------------------------------------
5898
+ Extface::Driver::DaisyFx1200Test: test_fsend
5899
+ --------------------------------------------
5900
+ Extface::Driver Load (0.5ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5901
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5902
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5903
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5904
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5905
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5906
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5907
+  (0.3ms) rollback transaction
5908
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5909
+  (105.5ms) DROP TABLE "extface_devices"
5910
+  (73.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5911
+  (72.8ms) DROP TABLE "extface_drivers"
5912
+  (73.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5913
+  (56.3ms) DROP TABLE "extface_jobs"
5914
+  (73.4ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5915
+  (0.2ms) select sqlite_version(*)
5916
+  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5917
+  (56.3ms) DROP TABLE "extface_serial_configs"
5918
+  (65.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5919
+  (64.5ms) DROP TABLE "shops"
5920
+  (65.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5921
+  (0.2ms) SELECT version FROM "schema_migrations"
5922
+  (0.1ms) begin transaction
5923
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5924
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 980190962, 258259918)
5925
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374, 599072141)
5926
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5927
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 980190962, 'Shop', 980190962, 258259918)
5928
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374, 'Shop', 980190962, 599072141)
5929
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 229906743, 'Shop', 980190962, 229906743)
5930
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 40760454, 'Shop', 980190962, 40760454)
5931
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
5932
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 258259918)
5933
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 412842077)
5934
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 599072141)
5935
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 229906743)
5936
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:22:58', '2015-12-19 17:22:58', 40760454)
5937
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5938
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 980190962)
5939
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374)
5940
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5941
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:22:58', '2015-12-19 17:22:58', 980190962)
5942
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:22:58', '2015-12-19 17:22:58', 298486374)
5943
+  (54.9ms) commit transaction
5944
+  (0.1ms) begin transaction
5945
+ --------------------------------------------
5946
+ Extface::Driver::DaisyFx1200Test: test_fsend
5947
+ --------------------------------------------
5948
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5949
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5950
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5951
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5952
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5953
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
5954
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
5955
+  (0.2ms) rollback transaction
5956
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5957
+  (106.3ms) DROP TABLE "extface_devices"
5958
+  (78.6ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
5959
+  (64.5ms) DROP TABLE "extface_drivers"
5960
+  (65.2ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
5961
+  (59.3ms) DROP TABLE "extface_jobs"
5962
+  (70.4ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
5963
+  (0.1ms) select sqlite_version(*)
5964
+  (65.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
5965
+  (59.5ms) DROP TABLE "extface_serial_configs"
5966
+  (62.2ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
5967
+  (56.7ms) DROP TABLE "shops"
5968
+  (57.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
5969
+  (0.3ms) SELECT version FROM "schema_migrations"
5970
+  (0.1ms) begin transaction
5971
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
5972
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:32:47', '2015-12-19 17:32:47', 980190962, 258259918)
5973
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374, 599072141)
5974
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
5975
+ Fixture Insert (0.2ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 980190962, 'Shop', 980190962, 258259918)
5976
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374, 'Shop', 980190962, 599072141)
5977
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 229906743, 'Shop', 980190962, 229906743)
5978
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 40760454, 'Shop', 980190962, 40760454)
5979
+ Fixture Delete (0.2ms) DELETE FROM "extface_drivers"
5980
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 258259918)
5981
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 412842077)
5982
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 599072141)
5983
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 229906743)
5984
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:32:47', '2015-12-19 17:32:47', 40760454)
5985
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
5986
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:32:47', '2015-12-19 17:32:47', 980190962)
5987
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374)
5988
+ Fixture Delete (0.1ms) DELETE FROM "shops"
5989
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:32:47', '2015-12-19 17:32:47', 980190962)
5990
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:32:47', '2015-12-19 17:32:47', 298486374)
5991
+  (52.8ms) commit transaction
5992
+  (0.2ms) begin transaction
5993
+ --------------------------------------------
5994
+ Extface::Driver::DaisyFx1200Test: test_fsend
5995
+ --------------------------------------------
5996
+ Extface::Driver Load (0.4ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
5997
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
5998
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
5999
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
6000
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
6001
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
6002
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
6003
+  (0.2ms) rollback transaction
6004
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6005
+  (75.7ms) DROP TABLE "extface_devices"
6006
+  (73.5ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
6007
+  (72.8ms) DROP TABLE "extface_drivers"
6008
+  (100.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
6009
+  (62.6ms) DROP TABLE "extface_jobs"
6010
+  (73.5ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
6011
+  (0.2ms) select sqlite_version(*)
6012
+  (72.3ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
6013
+  (65.0ms) DROP TABLE "extface_serial_configs"
6014
+  (73.6ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
6015
+  (72.8ms) DROP TABLE "shops"
6016
+  (73.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
6017
+  (0.2ms) SELECT version FROM "schema_migrations"
6018
+  (0.1ms) begin transaction
6019
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
6020
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:38:57', '2015-12-19 17:38:57', 980190962, 258259918)
6021
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374, 599072141)
6022
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
6023
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 980190962, 'Shop', 980190962, 258259918)
6024
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374, 'Shop', 980190962, 599072141)
6025
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 229906743, 'Shop', 980190962, 229906743)
6026
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 40760454, 'Shop', 980190962, 40760454)
6027
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
6028
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 258259918)
6029
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 412842077)
6030
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 599072141)
6031
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 229906743)
6032
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:38:57', '2015-12-19 17:38:57', 40760454)
6033
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
6034
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:38:57', '2015-12-19 17:38:57', 980190962)
6035
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374)
6036
+ Fixture Delete (0.1ms) DELETE FROM "shops"
6037
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:38:57', '2015-12-19 17:38:57', 980190962)
6038
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:38:57', '2015-12-19 17:38:57', 298486374)
6039
+  (58.6ms) commit transaction
6040
+  (0.2ms) begin transaction
6041
+ ---------------------------------------------------------
6042
+ Extface::DevicesControllerTest: test_should_create_device
6043
+ ---------------------------------------------------------
6044
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6045
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6046
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6047
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6048
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6049
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6050
+ Processing by Extface::DevicesController#create as HTML
6051
+ Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}}
6052
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6053
+  (0.1ms) SAVEPOINT active_record_1
6054
+ Extface::Device Exists (0.2ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
6055
+ 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
6056
+ SQL (0.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:38:58.170020"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:38:58.170020"]]
6057
+ SQL (0.2ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:38:58.179224"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "1c8fc7750e8398a939e15fe03ed0024e"], ["updated_at", "2015-12-19 17:38:58.179224"], ["uuid", "1c8fc7750e8398a939e15fe03ed0024e"]]
6058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6059
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6060
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6061
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963
6062
+ Completed 302 Found in 54ms (ActiveRecord: 1.1ms)
6063
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6064
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6065
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6066
+  (0.1ms) rollback transaction
6067
+  (0.1ms) begin transaction
6068
+ ----------------------------------------------------------
6069
+ Extface::DevicesControllerTest: test_should_destroy_device
6070
+ ----------------------------------------------------------
6071
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6072
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6073
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6074
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6075
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6076
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6077
+ Processing by Extface::DevicesController#destroy as HTML
6078
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6079
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6080
+ 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]]
6081
+  (0.1ms) SAVEPOINT active_record_1
6082
+ SQL (0.1ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
6083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6084
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6085
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6086
+ Redirected to http://test.host/shops/298486374/shop_extface/devices
6087
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
6088
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6089
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6090
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6091
+  (0.1ms) rollback transaction
6092
+  (0.1ms) begin transaction
6093
+ ----------------------------------------------------
6094
+ Extface::DevicesControllerTest: test_should_get_edit
6095
+ ----------------------------------------------------
6096
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6097
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6098
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6099
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6100
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6101
+ Processing by Extface::DevicesController#edit as HTML
6102
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6103
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6104
+ 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]]
6105
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6106
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6107
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6108
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6109
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6110
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6111
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.7ms)
6112
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
6113
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6114
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6115
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.6ms)
6116
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (4.5ms)
6117
+ Completed 200 OK in 193ms (Views: 190.5ms | ActiveRecord: 1.1ms)
6118
+  (0.1ms) rollback transaction
6119
+  (0.1ms) begin transaction
6120
+ -----------------------------------------------------
6121
+ Extface::DevicesControllerTest: test_should_get_index
6122
+ -----------------------------------------------------
6123
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6124
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6125
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6126
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6127
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6128
+ Processing by Extface::DevicesController#index as HTML
6129
+ Parameters: {"shop_id"=>"980190962"}
6130
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6131
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
6132
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6133
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6134
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6135
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6136
+ 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"]]
6137
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6138
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6139
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6140
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6141
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6142
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6143
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6144
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6145
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6146
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6147
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6148
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6149
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6150
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6151
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6152
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6153
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6154
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6155
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6156
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
6157
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6158
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6159
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6160
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6161
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6162
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6163
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6164
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
6165
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6166
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6167
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6168
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6169
+ Completed 200 OK in 48ms (Views: 43.0ms | ActiveRecord: 3.6ms)
6170
+  (0.1ms) rollback transaction
6171
+  (0.1ms) begin transaction
6172
+ ---------------------------------------------------
6173
+ Extface::DevicesControllerTest: test_should_get_new
6174
+ ---------------------------------------------------
6175
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6176
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6177
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6178
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6179
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6180
+ Processing by Extface::DevicesController#new as HTML
6181
+ Parameters: {"shop_id"=>"980190962"}
6182
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6183
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6184
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6185
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6186
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6187
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6188
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6189
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
6190
+ Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.6ms)
6191
+  (0.1ms) rollback transaction
6192
+  (0.1ms) begin transaction
6193
+ -------------------------------------------------------
6194
+ Extface::DevicesControllerTest: test_should_show_device
6195
+ -------------------------------------------------------
6196
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6197
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6198
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6199
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6200
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6201
+ Processing by Extface::DevicesController#show as HTML
6202
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6203
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6204
+ 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]]
6205
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6206
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6207
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6208
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6209
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6210
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6211
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6212
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
6213
+  (0.2ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
6214
+  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
6215
+  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
6216
+  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
6217
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6218
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6219
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6220
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6221
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (2.4ms)
6222
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6223
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6224
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]]
6225
+ Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 1.8ms)
6226
+  (0.1ms) rollback transaction
6227
+  (0.1ms) begin transaction
6228
+ ---------------------------------------------------------
6229
+ Extface::DevicesControllerTest: test_should_update_device
6230
+ ---------------------------------------------------------
6231
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6232
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6233
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6234
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6235
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6236
+ Processing by Extface::DevicesController#update as HTML
6237
+ Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
6238
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6239
+ 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]]
6240
+  (0.0ms) SAVEPOINT active_record_1
6241
+ 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
6242
+ 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
6243
+ SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:38:58.499082"]]
6244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6245
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6246
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6247
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962
6248
+ Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
6249
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6250
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6251
+  (0.1ms) rollback transaction
6252
+  (0.1ms) begin transaction
6253
+ -----------------------
6254
+ ExtfaceTest: test_truth
6255
+ -----------------------
6256
+  (0.0ms) rollback transaction
6257
+  (0.0ms) begin transaction
6258
+ --------------------------------------------
6259
+ Extface::Driver::DaisyFx1200Test: test_fsend
6260
+ --------------------------------------------
6261
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6262
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
6263
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6264
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
6265
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
6266
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
6267
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
6268
+  (0.3ms) rollback transaction
6269
+  (0.2ms) begin transaction
6270
+ ---------------------------------------------
6271
+ Extface::Driver::DaisyFx1200Test: test_handle
6272
+ ---------------------------------------------
6273
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6274
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
6275
+  (0.2ms) rollback transaction
6276
+  (0.1ms) begin transaction
6277
+ -----------------------------------------------------
6278
+ Extface::Driver::DaisyFx1200Test: test_response_frame
6279
+ -----------------------------------------------------
6280
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6281
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
6282
+  (0.2ms) rollback transaction
6283
+  (0.2ms) begin transaction
6284
+ -------------------------------------------------
6285
+ Extface::JobsControllerTest: test_should_show_job
6286
+ -------------------------------------------------
6287
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6288
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6289
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6290
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6291
+ Processing by Extface::JobsController#show as HTML
6292
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6293
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6294
+  (0.1ms) rollback transaction
6295
+  (0.1ms) begin transaction
6296
+ -----------------------------------------------------
6297
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
6298
+ -----------------------------------------------------
6299
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6300
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6301
+  (0.2ms) rollback transaction
6302
+  (0.1ms) begin transaction
6303
+ ----------------------------------------------
6304
+ Extface::Driver::Datecs::Fp550Test: test_fsend
6305
+ ----------------------------------------------
6306
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6307
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6308
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6309
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
6310
+ Extface::Job Load (0.4ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
6311
+ Completed 200 OK in 10005ms (ActiveRecord: 1.4ms)
6312
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
6313
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
6314
+  (0.6ms) rollback transaction
6315
+  (0.1ms) begin transaction
6316
+ -----------------------------------------------
6317
+ Extface::Driver::Datecs::Fp550Test: test_handle
6318
+ -----------------------------------------------
6319
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6320
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6321
+  (0.3ms) rollback transaction
6322
+  (0.2ms) begin transaction
6323
+ -------------------------------------------------------
6324
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
6325
+ -------------------------------------------------------
6326
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6327
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6328
+  (0.2ms) rollback transaction
6329
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6330
+  (86.3ms) DROP TABLE "extface_devices"
6331
+  (65.4ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
6332
+  (64.4ms) DROP TABLE "extface_drivers"
6333
+  (65.3ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
6334
+  (59.2ms) DROP TABLE "extface_jobs"
6335
+  (78.8ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
6336
+  (0.2ms) select sqlite_version(*)
6337
+  (64.2ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
6338
+  (51.3ms) DROP TABLE "extface_serial_configs"
6339
+  (79.0ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
6340
+  (64.5ms) DROP TABLE "shops"
6341
+  (57.3ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
6342
+  (0.3ms) SELECT version FROM "schema_migrations"
6343
+  (0.1ms) begin transaction
6344
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
6345
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:45:25', '2015-12-19 17:45:25', 980190962, 258259918)
6346
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374, 599072141)
6347
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
6348
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 980190962, 'Shop', 980190962, 258259918)
6349
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374, 'Shop', 980190962, 599072141)
6350
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 229906743, 'Shop', 980190962, 229906743)
6351
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 40760454, 'Shop', 980190962, 40760454)
6352
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
6353
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 258259918)
6354
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 412842077)
6355
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 599072141)
6356
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 229906743)
6357
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:45:25', '2015-12-19 17:45:25', 40760454)
6358
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
6359
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:45:25', '2015-12-19 17:45:25', 980190962)
6360
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374)
6361
+ Fixture Delete (0.1ms) DELETE FROM "shops"
6362
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:45:25', '2015-12-19 17:45:25', 980190962)
6363
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:45:25', '2015-12-19 17:45:25', 298486374)
6364
+  (47.3ms) commit transaction
6365
+  (0.1ms) begin transaction
6366
+ -----------------------------------------------------
6367
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
6368
+ -----------------------------------------------------
6369
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6370
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6371
+  (0.1ms) rollback transaction
6372
+  (0.1ms) begin transaction
6373
+ ----------------------------------------------
6374
+ Extface::Driver::Datecs::Fp550Test: test_fsend
6375
+ ----------------------------------------------
6376
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6377
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6378
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6379
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
6380
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
6381
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
6382
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
6383
+  (0.4ms) rollback transaction
6384
+  (0.1ms) begin transaction
6385
+ -----------------------------------------------
6386
+ Extface::Driver::Datecs::Fp550Test: test_handle
6387
+ -----------------------------------------------
6388
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6389
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6390
+  (0.2ms) rollback transaction
6391
+  (0.1ms) begin transaction
6392
+ -------------------------------------------------------
6393
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
6394
+ -------------------------------------------------------
6395
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6396
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6397
+  (0.2ms) rollback transaction
6398
+  (0.2ms) begin transaction
6399
+ ---------------------------------------------------------
6400
+ Extface::DevicesControllerTest: test_should_create_device
6401
+ ---------------------------------------------------------
6402
+ Extface::Device Load (0.3ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6403
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6404
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6405
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6406
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6407
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6408
+ Processing by Extface::DevicesController#create as HTML
6409
+ Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}}
6410
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6411
+  (0.1ms) SAVEPOINT active_record_1
6412
+ Extface::Device Exists (0.2ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
6413
+ 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
6414
+ SQL (29.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:45:43.189865"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:45:43.189865"]]
6415
+ SQL (0.2ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:45:43.227503"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "3aa020b56b7a4a19f6834911ae81097e"], ["updated_at", "2015-12-19 17:45:43.227503"], ["uuid", "3aa020b56b7a4a19f6834911ae81097e"]]
6416
+  (0.1ms) RELEASE SAVEPOINT active_record_1
6417
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6418
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6419
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963
6420
+ Completed 302 Found in 57ms (ActiveRecord: 30.3ms)
6421
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6422
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6423
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6424
+  (0.2ms) rollback transaction
6425
+  (0.1ms) begin transaction
6426
+ ----------------------------------------------------------
6427
+ Extface::DevicesControllerTest: test_should_destroy_device
6428
+ ----------------------------------------------------------
6429
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6430
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6431
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6432
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6433
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6434
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6435
+ Processing by Extface::DevicesController#destroy as HTML
6436
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6437
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6438
+ 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]]
6439
+  (0.1ms) SAVEPOINT active_record_1
6440
+ SQL (0.2ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
6441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6442
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6443
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6444
+ Redirected to http://test.host/shops/298486374/shop_extface/devices
6445
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
6446
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6447
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6448
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6449
+  (0.1ms) rollback transaction
6450
+  (0.0ms) begin transaction
6451
+ ----------------------------------------------------
6452
+ Extface::DevicesControllerTest: test_should_get_edit
6453
+ ----------------------------------------------------
6454
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6455
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6456
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6457
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6458
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6459
+ Processing by Extface::DevicesController#edit as HTML
6460
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6461
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6462
+ 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]]
6463
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6464
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6465
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6466
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6467
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6468
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6469
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.9ms)
6470
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
6471
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6472
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6473
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms)
6474
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.4ms)
6475
+ Completed 200 OK in 44ms (Views: 41.5ms | ActiveRecord: 1.0ms)
6476
+  (0.1ms) rollback transaction
6477
+  (0.1ms) begin transaction
6478
+ -----------------------------------------------------
6479
+ Extface::DevicesControllerTest: test_should_get_index
6480
+ -----------------------------------------------------
6481
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6482
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6483
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6484
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6485
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6486
+ Processing by Extface::DevicesController#index as HTML
6487
+ Parameters: {"shop_id"=>"980190962"}
6488
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6489
+ 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"]]
6490
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6491
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6492
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6493
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6494
+ 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"]]
6495
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6496
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6497
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6498
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6499
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6500
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6501
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6502
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6503
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6504
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6505
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6506
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6507
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6508
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6509
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6510
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6511
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6512
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6513
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6514
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
6515
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6516
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6517
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6518
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6519
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6520
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6521
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6522
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
6523
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6524
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6525
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6526
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6527
+ Completed 200 OK in 29ms (Views: 25.1ms | ActiveRecord: 2.6ms)
6528
+  (0.1ms) rollback transaction
6529
+  (0.0ms) begin transaction
6530
+ ---------------------------------------------------
6531
+ Extface::DevicesControllerTest: test_should_get_new
6532
+ ---------------------------------------------------
6533
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6534
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6535
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6536
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6537
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6538
+ Processing by Extface::DevicesController#new as HTML
6539
+ Parameters: {"shop_id"=>"980190962"}
6540
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6541
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6542
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6543
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6544
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6545
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6546
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6547
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
6548
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.6ms)
6549
+  (0.1ms) rollback transaction
6550
+  (0.0ms) begin transaction
6551
+ -------------------------------------------------------
6552
+ Extface::DevicesControllerTest: test_should_show_device
6553
+ -------------------------------------------------------
6554
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6555
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6556
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6557
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6558
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6559
+ Processing by Extface::DevicesController#show as HTML
6560
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6561
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6562
+ 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]]
6563
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6564
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6565
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6566
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6567
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6568
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6569
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6570
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
6571
+  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
6572
+  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
6573
+  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
6574
+  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
6575
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6576
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6577
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6578
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6579
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.6ms)
6580
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6581
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6582
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]]
6583
+ Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 1.4ms)
6584
+  (0.1ms) rollback transaction
6585
+  (0.1ms) begin transaction
6586
+ ---------------------------------------------------------
6587
+ Extface::DevicesControllerTest: test_should_update_device
6588
+ ---------------------------------------------------------
6589
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6590
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6591
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6592
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6593
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6594
+ Processing by Extface::DevicesController#update as HTML
6595
+ Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
6596
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6597
+ 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]]
6598
+  (0.1ms) SAVEPOINT active_record_1
6599
+ 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
6600
+ 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
6601
+ SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:45:43.368326"]]
6602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6603
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6604
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6605
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962
6606
+ Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
6607
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6608
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6609
+  (0.1ms) rollback transaction
6610
+  (0.0ms) begin transaction
6611
+ --------------------------------------------
6612
+ Extface::Driver::DaisyFx1200Test: test_fsend
6613
+ --------------------------------------------
6614
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6615
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
6616
+ Extface::Job Load (0.0ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6617
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
6618
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
6619
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
6620
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
6621
+  (0.3ms) rollback transaction
6622
+  (0.1ms) begin transaction
6623
+ ---------------------------------------------
6624
+ Extface::Driver::DaisyFx1200Test: test_handle
6625
+ ---------------------------------------------
6626
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6627
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
6628
+  (0.2ms) rollback transaction
6629
+  (0.1ms) begin transaction
6630
+ -----------------------------------------------------
6631
+ Extface::Driver::DaisyFx1200Test: test_response_frame
6632
+ -----------------------------------------------------
6633
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6634
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
6635
+  (0.2ms) rollback transaction
6636
+  (0.1ms) begin transaction
6637
+ -------------------------------------------------
6638
+ Extface::JobsControllerTest: test_should_show_job
6639
+ -------------------------------------------------
6640
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6641
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6642
+ Shop Load (0.3ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6643
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6644
+ Processing by Extface::JobsController#show as HTML
6645
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6646
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6647
+  (0.1ms) rollback transaction
6648
+  (0.1ms) begin transaction
6649
+ -----------------------
6650
+ ExtfaceTest: test_truth
6651
+ -----------------------
6652
+  (0.1ms) rollback transaction
6653
+ Completed in 8ms
6654
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6655
+  (72.7ms) DROP TABLE "extface_devices"
6656
+  (73.7ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
6657
+  (72.7ms) DROP TABLE "extface_drivers"
6658
+  (73.5ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
6659
+  (64.3ms) DROP TABLE "extface_jobs"
6660
+  (73.6ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
6661
+  (0.2ms) select sqlite_version(*)
6662
+  (72.5ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
6663
+  (64.4ms) DROP TABLE "extface_serial_configs"
6664
+  (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) 
6665
+  (73.1ms) DROP TABLE "shops"
6666
+  (70.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
6667
+  (0.3ms) SELECT version FROM "schema_migrations"
6668
+  (0.1ms) begin transaction
6669
+ Fixture Delete (0.1ms) DELETE FROM "extface_serial_configs"
6670
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 980190962, 258259918)
6671
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374, 599072141)
6672
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
6673
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 980190962, 'Shop', 980190962, 258259918)
6674
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374, 'Shop', 980190962, 599072141)
6675
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 229906743, 'Shop', 980190962, 229906743)
6676
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 40760454, 'Shop', 980190962, 40760454)
6677
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
6678
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 258259918)
6679
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 412842077)
6680
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 599072141)
6681
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 229906743)
6682
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:47:16', '2015-12-19 17:47:16', 40760454)
6683
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
6684
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 980190962)
6685
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374)
6686
+ Fixture Delete (0.1ms) DELETE FROM "shops"
6687
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:47:16', '2015-12-19 17:47:16', 980190962)
6688
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:47:16', '2015-12-19 17:47:16', 298486374)
6689
+  (58.9ms) commit transaction
6690
+  (0.1ms) begin transaction
6691
+ --------------------------------------------
6692
+ Extface::Driver::DaisyFx1200Test: test_fsend
6693
+ --------------------------------------------
6694
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6695
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
6696
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6697
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
6698
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
6699
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
6700
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
6701
+  (0.2ms) rollback transaction
6702
+  (0.2ms) begin transaction
6703
+ ---------------------------------------------
6704
+ Extface::Driver::DaisyFx1200Test: test_handle
6705
+ ---------------------------------------------
6706
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6707
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
6708
+  (0.2ms) rollback transaction
6709
+  (0.1ms) begin transaction
6710
+ -----------------------------------------------------
6711
+ Extface::Driver::DaisyFx1200Test: test_response_frame
6712
+ -----------------------------------------------------
6713
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6714
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
6715
+  (0.2ms) rollback transaction
6716
+  (0.1ms) begin transaction
6717
+ -------------------------------------------------
6718
+ Extface::JobsControllerTest: test_should_show_job
6719
+ -------------------------------------------------
6720
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6721
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6722
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6723
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6724
+ Processing by Extface::JobsController#show as HTML
6725
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6726
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6727
+  (0.1ms) rollback transaction
6728
+  (0.1ms) begin transaction
6729
+ -----------------------
6730
+ ExtfaceTest: test_truth
6731
+ -----------------------
6732
+  (0.1ms) rollback transaction
6733
+  (0.1ms) begin transaction
6734
+ ---------------------------------------------------------
6735
+ Extface::DevicesControllerTest: test_should_create_device
6736
+ ---------------------------------------------------------
6737
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6738
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6739
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6740
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6741
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6742
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6743
+ Processing by Extface::DevicesController#create as HTML
6744
+ Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}}
6745
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6746
+  (0.1ms) SAVEPOINT active_record_1
6747
+ 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
6748
+ 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
6749
+ SQL (0.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:47:18.787982"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:47:18.787982"]]
6750
+ SQL (0.1ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:47:18.821455"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "be08489a9bace10633284cbcaa2db3ea"], ["updated_at", "2015-12-19 17:47:18.821455"], ["uuid", "be08489a9bace10633284cbcaa2db3ea"]]
6751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6752
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6753
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6754
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963
6755
+ Completed 302 Found in 49ms (ActiveRecord: 1.1ms)
6756
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6757
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6758
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6759
+  (0.1ms) rollback transaction
6760
+  (0.1ms) begin transaction
6761
+ ----------------------------------------------------------
6762
+ Extface::DevicesControllerTest: test_should_destroy_device
6763
+ ----------------------------------------------------------
6764
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6765
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6766
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6767
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6768
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6769
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6770
+ Processing by Extface::DevicesController#destroy as HTML
6771
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6772
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6773
+ 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]]
6774
+  (0.0ms) SAVEPOINT active_record_1
6775
+ SQL (0.1ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
6776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6777
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6778
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6779
+ Redirected to http://test.host/shops/298486374/shop_extface/devices
6780
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
6781
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
6782
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6783
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6784
+  (0.1ms) rollback transaction
6785
+  (0.0ms) begin transaction
6786
+ ----------------------------------------------------
6787
+ Extface::DevicesControllerTest: test_should_get_edit
6788
+ ----------------------------------------------------
6789
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6790
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6791
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6792
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6793
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6794
+ Processing by Extface::DevicesController#edit as HTML
6795
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6796
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6797
+ 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]]
6798
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6799
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6800
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6801
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6802
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6803
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6804
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.5ms)
6805
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
6806
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6807
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6808
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms)
6809
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.1ms)
6810
+ Completed 200 OK in 38ms (Views: 36.5ms | ActiveRecord: 0.8ms)
6811
+  (0.1ms) rollback transaction
6812
+  (0.0ms) begin transaction
6813
+ -----------------------------------------------------
6814
+ Extface::DevicesControllerTest: test_should_get_index
6815
+ -----------------------------------------------------
6816
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6817
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6818
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6819
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6820
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6821
+ Processing by Extface::DevicesController#index as HTML
6822
+ Parameters: {"shop_id"=>"980190962"}
6823
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6824
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."extfaceable_id" = ? AND "extface_devices"."extfaceable_type" = ? [["extfaceable_id", 980190962], ["extfaceable_type", "Shop"]]
6825
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6826
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6827
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6828
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6829
+ 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"]]
6830
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6831
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6832
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6833
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
6834
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6835
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6836
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6837
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6838
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6839
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6840
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6841
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6842
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6843
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6844
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6845
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6846
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6847
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6848
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6849
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
6850
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6851
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6852
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6853
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6854
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6855
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6856
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6857
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
6858
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6859
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6860
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6861
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6862
+ Completed 200 OK in 29ms (Views: 24.3ms | ActiveRecord: 2.6ms)
6863
+  (0.1ms) rollback transaction
6864
+  (0.1ms) begin transaction
6865
+ ---------------------------------------------------
6866
+ Extface::DevicesControllerTest: test_should_get_new
6867
+ ---------------------------------------------------
6868
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6869
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6870
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6871
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6872
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6873
+ Processing by Extface::DevicesController#new as HTML
6874
+ Parameters: {"shop_id"=>"980190962"}
6875
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6876
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6877
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6878
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6879
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6880
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6881
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6882
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
6883
+ Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms)
6884
+  (0.1ms) rollback transaction
6885
+  (0.1ms) begin transaction
6886
+ -------------------------------------------------------
6887
+ Extface::DevicesControllerTest: test_should_show_device
6888
+ -------------------------------------------------------
6889
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6890
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6891
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6892
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6893
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6894
+ Processing by Extface::DevicesController#show as HTML
6895
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
6896
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6897
+ 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]]
6898
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6899
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6900
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6901
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6902
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6903
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6904
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6905
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
6906
+  (0.2ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
6907
+  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
6908
+  (0.2ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
6909
+  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
6910
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6911
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6912
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6913
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6914
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.6ms)
6915
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6916
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6917
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]]
6918
+ Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 1.6ms)
6919
+  (0.1ms) rollback transaction
6920
+  (0.1ms) begin transaction
6921
+ ---------------------------------------------------------
6922
+ Extface::DevicesControllerTest: test_should_update_device
6923
+ ---------------------------------------------------------
6924
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
6925
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6926
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
6927
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6928
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6929
+ Processing by Extface::DevicesController#update as HTML
6930
+ Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
6931
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
6932
+ 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]]
6933
+  (0.0ms) SAVEPOINT active_record_1
6934
+ 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
6935
+ 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
6936
+ SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:47:18.953356"]]
6937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
6938
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6939
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6940
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962
6941
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
6942
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6943
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
6944
+  (0.1ms) rollback transaction
6945
+  (0.1ms) begin transaction
6946
+ -----------------------------------------------------
6947
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
6948
+ -----------------------------------------------------
6949
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6950
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6951
+  (0.1ms) rollback transaction
6952
+  (0.0ms) begin transaction
6953
+ ----------------------------------------------
6954
+ Extface::Driver::Datecs::Fp550Test: test_fsend
6955
+ ----------------------------------------------
6956
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6957
+ Extface::Device Load (0.0ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6958
+ Extface::Job Load (0.0ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
6959
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
6960
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
6961
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
6962
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
6963
+  (0.2ms) rollback transaction
6964
+  (0.1ms) begin transaction
6965
+ -----------------------------------------------
6966
+ Extface::Driver::Datecs::Fp550Test: test_handle
6967
+ -----------------------------------------------
6968
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6969
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6970
+  (0.2ms) rollback transaction
6971
+  (0.1ms) begin transaction
6972
+ -------------------------------------------------------
6973
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
6974
+ -------------------------------------------------------
6975
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
6976
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
6977
+  (0.2ms) rollback transaction
6978
+ Completed in 2247ms
6979
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6980
+  (64.1ms) DROP TABLE "extface_devices"
6981
+  (65.3ms) CREATE TABLE "extface_devices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "uuid" varchar(255), "name" varchar(255), "extfaceable_id" integer, "extfaceable_type" varchar(255), "driver_id" integer, "created_at" datetime, "updated_at" datetime) 
6982
+  (53.2ms) DROP TABLE "extface_drivers"
6983
+  (57.1ms) CREATE TABLE "extface_drivers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
6984
+  (51.0ms) DROP TABLE "extface_jobs"
6985
+  (54.1ms) CREATE TABLE "extface_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "device_id" integer, "created_at" datetime, "updated_at" datetime, "description" varchar(255), "error" varchar(255), "failed_at" datetime, "completed_at" datetime, "connected_at" datetime) 
6986
+  (0.2ms) select sqlite_version(*)
6987
+  (56.1ms) CREATE INDEX "index_extface_jobs_on_device_id" ON "extface_jobs" ("device_id")
6988
+  (51.2ms) DROP TABLE "extface_serial_configs"
6989
+  (65.3ms) CREATE TABLE "extface_serial_configs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "driver_id" integer, "serial_boud_rate" integer, "serial_data_length" integer, "serial_parity_check" integer, "serial_stop_bits" integer, "serial_handshake" integer, "created_at" datetime, "updated_at" datetime) 
6990
+  (61.6ms) DROP TABLE "shops"
6991
+  (65.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
6992
+  (0.2ms) SELECT version FROM "schema_migrations"
6993
+  (0.1ms) begin transaction
6994
+ Fixture Delete (0.2ms) DELETE FROM "extface_serial_configs"
6995
+ Fixture Insert (0.2ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962, 258259918)
6996
+ Fixture Insert (0.1ms) INSERT INTO "extface_serial_configs" ("serial_boud_rate", "serial_data_length", "serial_parity_check", "serial_stop_bits", "serial_handshake", "created_at", "updated_at", "id", "driver_id") VALUES (1, 1, 1, 1, 1, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374, 599072141)
6997
+ Fixture Delete (0.1ms) DELETE FROM "extface_devices"
6998
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID1', 'MyString1', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962, 'Shop', 980190962, 258259918)
6999
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('MyUUID2', 'MyString2', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374, 'Shop', 980190962, 599072141)
7000
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('datecs_fp550', 'Datect FP550', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 229906743, 'Shop', 980190962, 229906743)
7001
+ Fixture Insert (0.1ms) INSERT INTO "extface_devices" ("uuid", "name", "created_at", "updated_at", "id", "extfaceable_type", "extfaceable_id", "driver_id") VALUES ('daisy_fx1200', 'Daisy Fx1200', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 40760454, 'Shop', 980190962, 40760454)
7002
+ Fixture Delete (0.1ms) DELETE FROM "extface_drivers"
7003
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::GenericPos', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 258259918)
7004
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarTsp200', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 412842077)
7005
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::StarScp700', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 599072141)
7006
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::Datecs::Fp550', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 229906743)
7007
+ Fixture Insert (0.1ms) INSERT INTO "extface_drivers" ("type", "created_at", "updated_at", "id") VALUES ('Extface::Driver::DaisyFx1200', '2015-12-19 17:56:06', '2015-12-19 17:56:06', 40760454)
7008
+ Fixture Delete (0.1ms) DELETE FROM "extface_jobs"
7009
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962)
7010
+ Fixture Insert (0.1ms) INSERT INTO "extface_jobs" ("device_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374)
7011
+ Fixture Delete (0.1ms) DELETE FROM "shops"
7012
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:56:06', '2015-12-19 17:56:06', 980190962)
7013
+ Fixture Insert (0.1ms) INSERT INTO "shops" ("created_at", "updated_at", "id") VALUES ('2015-12-19 17:56:06', '2015-12-19 17:56:06', 298486374)
7014
+  (72.0ms) commit transaction
7015
+  (0.1ms) begin transaction
7016
+ -----------------------------------------------------
7017
+ Extface::Driver::Datecs::Fp550Test: test_build_packet
7018
+ -----------------------------------------------------
7019
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
7020
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
7021
+  (0.1ms) rollback transaction
7022
+  (0.1ms) begin transaction
7023
+ ----------------------------------------------
7024
+ Extface::Driver::Datecs::Fp550Test: test_fsend
7025
+ ----------------------------------------------
7026
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
7027
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
7028
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
7029
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
7030
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
7031
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 229906743]]
7032
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 229906743]]
7033
+  (0.2ms) rollback transaction
7034
+  (0.2ms) begin transaction
7035
+ -----------------------------------------------
7036
+ Extface::Driver::Datecs::Fp550Test: test_handle
7037
+ -----------------------------------------------
7038
+ Extface::Driver Load (0.3ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
7039
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
7040
+  (0.2ms) rollback transaction
7041
+  (0.1ms) begin transaction
7042
+ -------------------------------------------------------
7043
+ Extface::Driver::Datecs::Fp550Test: test_response_frame
7044
+ -------------------------------------------------------
7045
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
7046
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 229906743]]
7047
+  (0.2ms) rollback transaction
7048
+  (0.1ms) begin transaction
7049
+ --------------------------------------------
7050
+ Extface::Driver::DaisyFx1200Test: test_fsend
7051
+ --------------------------------------------
7052
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
7053
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
7054
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
7055
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
7056
+ Extface::Job Load (0.3ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
7057
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? [["device_id", 40760454]]
7058
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NULL AND "extface_jobs"."failed_at" IS NULL) ORDER BY "extface_jobs"."id" ASC LIMIT 1 [["device_id", 40760454]]
7059
+  (0.2ms) rollback transaction
7060
+  (0.1ms) begin transaction
7061
+ ---------------------------------------------
7062
+ Extface::Driver::DaisyFx1200Test: test_handle
7063
+ ---------------------------------------------
7064
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
7065
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
7066
+  (0.2ms) rollback transaction
7067
+  (0.2ms) begin transaction
7068
+ -----------------------------------------------------
7069
+ Extface::Driver::DaisyFx1200Test: test_response_frame
7070
+ -----------------------------------------------------
7071
+ Extface::Driver Load (0.2ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
7072
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."driver_id" = ? LIMIT 1 [["driver_id", 40760454]]
7073
+  (0.2ms) rollback transaction
7074
+  (0.1ms) begin transaction
7075
+ -------------------------------------------------
7076
+ Extface::JobsControllerTest: test_should_show_job
7077
+ -------------------------------------------------
7078
+ Extface::Job Load (0.2ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
7079
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7080
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7081
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7082
+ Processing by Extface::JobsController#show as HTML
7083
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
7084
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."id" = ? LIMIT 1 [["id", 980190962]]
7085
+  (0.1ms) rollback transaction
7086
+  (0.1ms) begin transaction
7087
+ -----------------------
7088
+ ExtfaceTest: test_truth
7089
+ -----------------------
7090
+  (0.1ms) rollback transaction
7091
+  (0.1ms) begin transaction
7092
+ ---------------------------------------------------------
7093
+ Extface::DevicesControllerTest: test_should_create_device
7094
+ ---------------------------------------------------------
7095
+ Extface::Device Load (0.2ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
7096
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
7097
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7098
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7099
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7100
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7101
+ Processing by Extface::DevicesController#create as HTML
7102
+ Parameters: {"shop_id"=>"980190962", "device"=>{"driver_class"=>"Extface::Driver::GenericPos"}}
7103
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
7104
+  (0.1ms) SAVEPOINT active_record_1
7105
+ Extface::Device Exists (0.2ms) SELECT 1 AS one FROM "extface_devices" WHERE ("extface_devices"."name" IS NULL AND "extface_devices"."extfaceable_id" = 980190962 AND "extface_devices"."extfaceable_type" = 'Shop') LIMIT 1
7106
+ 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
7107
+ SQL (0.3ms) INSERT INTO "extface_drivers" ("created_at", "type", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-12-19 17:56:10.633292"], ["type", "Extface::Driver::GenericPos"], ["updated_at", "2015-12-19 17:56:10.633292"]]
7108
+ SQL (0.1ms) INSERT INTO "extface_devices" ("created_at", "driver_id", "extfaceable_id", "extfaceable_type", "name", "updated_at", "uuid") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2015-12-19 17:56:10.640237"], ["driver_id", 599072142], ["extfaceable_id", 980190962], ["extfaceable_type", "Shop"], ["name", "f54da54ab07e409a94591a961409b559"], ["updated_at", "2015-12-19 17:56:10.640237"], ["uuid", "f54da54ab07e409a94591a961409b559"]]
7109
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7110
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7111
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7112
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/980190963
7113
+ Completed 302 Found in 22ms (ActiveRecord: 1.0ms)
7114
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
7115
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7116
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7117
+  (0.1ms) rollback transaction
7118
+  (0.1ms) begin transaction
7119
+ ----------------------------------------------------------
7120
+ Extface::DevicesControllerTest: test_should_destroy_device
7121
+ ----------------------------------------------------------
7122
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
7123
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
7124
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7125
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7126
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7127
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7128
+ Processing by Extface::DevicesController#destroy as HTML
7129
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
7130
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
7131
+ 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]]
7132
+  (0.0ms) SAVEPOINT active_record_1
7133
+ SQL (0.1ms) DELETE FROM "extface_devices" WHERE "extface_devices"."id" = ? [["id", 980190962]]
7134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7135
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7136
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7137
+ Redirected to http://test.host/shops/298486374/shop_extface/devices
7138
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
7139
+  (0.1ms) SELECT COUNT(*) FROM "extface_devices"
7140
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7141
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7142
+  (0.1ms) rollback transaction
7143
+  (0.0ms) begin transaction
7144
+ ----------------------------------------------------
7145
+ Extface::DevicesControllerTest: test_should_get_edit
7146
+ ----------------------------------------------------
7147
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
7148
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7149
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7150
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7151
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7152
+ Processing by Extface::DevicesController#edit as HTML
7153
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
7154
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
7155
+ 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]]
7156
+ Shop Load (0.2ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7157
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7158
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7159
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7160
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7161
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7162
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.5ms)
7163
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
7164
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7165
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7166
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/generic_pos/_settings.html.erb (0.4ms)
7167
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/serial_configs/_settings.html.erb (3.3ms)
7168
+ Completed 200 OK in 41ms (Views: 39.0ms | ActiveRecord: 0.9ms)
7169
+  (0.1ms) rollback transaction
7170
+  (0.1ms) begin transaction
7171
+ -----------------------------------------------------
7172
+ Extface::DevicesControllerTest: test_should_get_index
7173
+ -----------------------------------------------------
7174
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
7175
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7176
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7177
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7178
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7179
+ Processing by Extface::DevicesController#index as HTML
7180
+ Parameters: {"shop_id"=>"980190962"}
7181
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
7182
+ 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"]]
7183
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7184
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7185
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7186
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7187
+ 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"]]
7188
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7189
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7190
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7191
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 40760454]]
7192
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7193
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7194
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7195
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7196
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7197
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7198
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7199
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 229906743]]
7200
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7201
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7202
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7203
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7204
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7205
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7206
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7207
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 599072141]]
7208
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7209
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7210
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7211
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7212
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7213
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7214
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7215
+ Extface::Driver Load (0.1ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
7216
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7217
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7218
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7219
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7220
+ Completed 200 OK in 26ms (Views: 22.0ms | ActiveRecord: 2.4ms)
7221
+  (0.1ms) rollback transaction
7222
+  (0.0ms) begin transaction
7223
+ ---------------------------------------------------
7224
+ Extface::DevicesControllerTest: test_should_get_new
7225
+ ---------------------------------------------------
7226
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
7227
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7228
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7229
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7230
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7231
+ Processing by Extface::DevicesController#new as HTML
7232
+ Parameters: {"shop_id"=>"980190962"}
7233
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
7234
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7235
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7236
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7237
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7238
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7239
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7240
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/application/_object_errors.html.erb (0.1ms)
7241
+ Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.5ms)
7242
+  (0.1ms) rollback transaction
7243
+  (0.0ms) begin transaction
7244
+ -------------------------------------------------------
7245
+ Extface::DevicesControllerTest: test_should_show_device
7246
+ -------------------------------------------------------
7247
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
7248
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7249
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7250
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7251
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7252
+ Processing by Extface::DevicesController#show as HTML
7253
+ Parameters: {"shop_id"=>"980190962", "id"=>"980190962"}
7254
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
7255
+ 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]]
7256
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7257
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7258
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7259
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7260
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7261
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7262
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7263
+ Extface::Driver Load (0.0ms) SELECT "extface_drivers".* FROM "extface_drivers" WHERE "extface_drivers"."id" = ? LIMIT 1 [["id", 258259918]]
7264
+  (0.2ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
7265
+  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."completed_at" IS NOT NULL) [["device_id", 980190962]]
7266
+  (0.1ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
7267
+  (0.0ms) SELECT COUNT(*) FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? AND ("extface_jobs"."failed_at" IS NOT NULL) [["device_id", 980190962]]
7268
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7269
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7270
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7271
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7272
+ Rendered /home/alex/AptanaWorkspace/extface/app/views/extface/driver/_control_print.html.erb (1.6ms)
7273
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7274
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7275
+ Extface::Job Load (0.1ms) SELECT "extface_jobs".* FROM "extface_jobs" WHERE "extface_jobs"."device_id" = ? ORDER BY "extface_jobs"."id" DESC LIMIT 10 [["device_id", 980190962]]
7276
+ Completed 200 OK in 20ms (Views: 17.0ms | ActiveRecord: 1.6ms)
7277
+  (0.1ms) rollback transaction
7278
+  (0.0ms) begin transaction
7279
+ ---------------------------------------------------------
7280
+ Extface::DevicesControllerTest: test_should_update_device
7281
+ ---------------------------------------------------------
7282
+ Extface::Device Load (0.1ms) SELECT "extface_devices".* FROM "extface_devices" WHERE "extface_devices"."id" = ? LIMIT 1 [["id", 980190962]]
7283
+ Shop Load (0.0ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7284
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 980190962]]
7285
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7286
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7287
+ Processing by Extface::DevicesController#update as HTML
7288
+ Parameters: {"shop_id"=>"980190962", "device"=>{"name"=>"new_name"}, "id"=>"980190962"}
7289
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = 980190962 LIMIT 1
7290
+ 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]]
7291
+  (0.0ms) SAVEPOINT active_record_1
7292
+ 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
7293
+ 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
7294
+ SQL (0.2ms) UPDATE "extface_devices" SET "name" = ?, "updated_at" = ? WHERE "extface_devices"."id" = 980190962 [["name", "new_name"], ["updated_at", "2015-12-19 17:56:10.771046"]]
7295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7296
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7297
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7298
+ Redirected to http://test.host/shops/298486374/shop_extface/devices/980190962
7299
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
7300
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7301
+ Shop Load (0.1ms) SELECT "shops".* FROM "shops" ORDER BY "shops"."id" ASC LIMIT 1
7302
+  (0.1ms) rollback transaction
7303
+ Completed in 205ms