medivo 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/app/controllers/medivo/labs_controller.rb +1 -1
  2. data/app/models/medivo/appointment.rb +3 -2
  3. data/lib/medivo/version.rb +1 -1
  4. data/spec/dummy/app/views/labs/search.html.haml +1 -1
  5. data/spec/dummy/log/development.log +538 -0
  6. data/spec/dummy/log/test.log +150 -0
  7. data/spec/dummy/tmp/cache/assets/C46/F00/sprockets%2F2281d588b540056c5a7306c32a3761b9 +0 -0
  8. data/spec/dummy/tmp/cache/assets/C53/C80/sprockets%2F9297b5f504687910109d311f03f8a7b3 +0 -0
  9. data/spec/dummy/tmp/cache/assets/C6C/8D0/sprockets%2F2f423a28516973330a94ad121151f3bf +0 -0
  10. data/spec/dummy/tmp/cache/assets/C81/D00/sprockets%2F64f056bd752d271308a86a6f865b1911 +0 -0
  11. data/spec/dummy/tmp/cache/assets/CB4/BD0/sprockets%2F3378f27c0d4f5e6d708665b22707a31f +0 -0
  12. data/spec/dummy/tmp/cache/assets/CB9/3B0/sprockets%2F367168463c7673b00086def7783ae5bb +0 -0
  13. data/spec/dummy/tmp/cache/assets/CC3/EF0/sprockets%2F453b504c1f8f374578636f699eaa455d +0 -0
  14. data/spec/dummy/tmp/cache/assets/CD5/670/sprockets%2F7f42231e2382a32f5a39dc7807f0b4d1 +0 -0
  15. data/spec/dummy/tmp/cache/assets/CD8/DA0/sprockets%2F622aa5281d15503829a5f7a0bf56fc29 +0 -0
  16. data/spec/dummy/tmp/cache/assets/CDD/820/sprockets%2Fb28231960c7ac62eff9048e702a29c70 +0 -0
  17. data/spec/dummy/tmp/cache/assets/CEC/EF0/sprockets%2F4b24a74018f693c06088bd52f8cc9f86 +0 -0
  18. data/spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575 +0 -0
  19. data/spec/dummy/tmp/cache/assets/CF7/0D0/sprockets%2Ff6b91b7558f31378d6a71f5791eff480 +0 -0
  20. data/spec/dummy/tmp/cache/assets/D07/6B0/sprockets%2F69a2df619ff14da071309dac4196400e +0 -0
  21. data/spec/dummy/tmp/cache/assets/D20/F10/sprockets%2Fb2e907e4faa85fe755f4439e3b229088 +0 -0
  22. data/spec/dummy/tmp/cache/assets/D29/000/sprockets%2F61a10ddf57f1129c02a1049bfed6e007 +0 -0
  23. data/spec/dummy/tmp/cache/assets/D2C/F80/sprockets%2F399f6d5eb273936af7ff8f35a77c5037 +0 -0
  24. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  25. data/spec/dummy/tmp/cache/assets/D41/250/sprockets%2F7b3c4426715dcd1feedc4a95e5444256 +0 -0
  26. data/spec/dummy/tmp/cache/assets/D45/320/sprockets%2Fc50ff379a1bdf1dd4d22249058749cf6 +0 -0
  27. data/spec/dummy/tmp/cache/assets/D4C/7A0/sprockets%2Fbc635c7b186d1ef5178f4ed3722d868b +0 -0
  28. data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  29. data/spec/dummy/tmp/cache/assets/D5D/3E0/sprockets%2F63fea6cc142b5f02da93bf81e70b2116 +0 -0
  30. data/spec/dummy/tmp/cache/assets/D60/030/sprockets%2Ffc9485f617fc5e9b8918755d2e08ecc6 +0 -0
  31. data/spec/dummy/tmp/cache/assets/D64/C50/sprockets%2F22ee6fb2ab1ea9694ac7f0f41a406094 +0 -0
  32. data/spec/dummy/tmp/cache/assets/D65/6D0/sprockets%2F3ce07ca1958d7ab3e80c4b3e0d24088c +0 -0
  33. data/spec/dummy/tmp/cache/assets/D69/130/sprockets%2Fbaa4ec50a34ce938c986612c2a47a64e +0 -0
  34. data/spec/dummy/tmp/cache/assets/D74/9A0/sprockets%2F0ca4e6e833c72156fc7e7d5f007d9ce3 +0 -0
  35. data/spec/dummy/tmp/cache/assets/D76/720/sprockets%2F88d8aa1d2fb41ce79b8ec4150ea74748 +0 -0
  36. data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  37. data/spec/dummy/tmp/cache/assets/D88/2C0/sprockets%2F452ab3ebb1912cf1c2ba617eec52a718 +0 -0
  38. data/spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77 +0 -0
  39. data/spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6 +0 -0
  40. data/spec/dummy/tmp/cache/assets/DA1/640/sprockets%2F91874cbba5e63cd19d6a7bd3c8362dc4 +0 -0
  41. data/spec/dummy/tmp/cache/assets/DC1/230/sprockets%2F3a36cd467bdce1914a2b7af4ed4114cf +0 -0
  42. data/spec/dummy/tmp/cache/assets/DCA/B80/sprockets%2Fb4aad54185f42b1b871997ef2dc2fabb +0 -0
  43. data/spec/dummy/tmp/cache/assets/DCE/E80/sprockets%2Fc71ec62157b9cc7aabfc030955cef87b +0 -0
  44. data/spec/dummy/tmp/cache/assets/DD1/FD0/sprockets%2Fa531f33dc9c5852d39d64a9eda44dacf +0 -0
  45. data/spec/dummy/tmp/cache/assets/DD4/2B0/sprockets%2Fef214a63f29afe7f3cbffc65af943108 +0 -0
  46. data/spec/dummy/tmp/cache/assets/DFC/420/sprockets%2F502e2c683d1aaad6ac88966ffc4d2ade +0 -0
  47. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  48. data/spec/dummy/tmp/cache/assets/E32/FC0/sprockets%2Fe55fb2eef11567fe04fdaf7e73af5ba4 +0 -0
  49. data/spec/dummy/tmp/pids/server.pid +1 -0
  50. data/spec/models/appointment_spec.rb +1 -1
  51. data/spec/requests/labs_spec.rb +3 -3
  52. data/spec/support/helper.rb +2 -1
  53. metadata +22 -20
@@ -14,7 +14,7 @@ module Medivo
14
14
  end
15
15
 
16
16
  def make_appointment
17
- data = Medivo::Appointment.make(params[:lab_code], params[:time_id], params[:user])
17
+ data = Medivo::Appointment.make(params[:lab_code], params[:time], params[:user])
18
18
  render :json=> data
19
19
  rescue Exception => e
20
20
  appointment_error_handler(e)
@@ -28,12 +28,13 @@ module Medivo
28
28
  # Make the labcorp appointment
29
29
  #
30
30
  # @param lab_code lab code
31
- # @param time_id time_id formatted to string in LABCORP_FORMAT
31
+ # @param time time
32
32
  # @param user user info must include date_of_birth, first_name, last_name,
33
33
  # email_address, phone_number
34
34
  def make(lab_code, time, user)
35
+ time_id = time.strftime(LABCORP_FORMAT)
35
36
  if real_data?
36
- data = resource.post :params=>{:labcorp_id=>lab_code, :time=>time, :user=>user}
37
+ data = resource.post :params=>{:labcorp_id=>lab_code, :time_id=>time_id, :user=>user}
37
38
  JSON.parse(data)
38
39
  else
39
40
  { confirmation: nil }
@@ -1,3 +1,3 @@
1
1
  module Medivo
2
- VERSION = "0.2.10"
2
+ VERSION = "0.2.11"
3
3
  end
@@ -67,7 +67,7 @@ Search for appointment times
67
67
  = form_tag(medivo.find_appointment_labs_path, :method=>:get, :id=>'appointment_data_search', :remote=>true) do
68
68
  %div
69
69
  Enter a Date
70
- .spinner_elem{:style=>'display:none'}
70
+ .appointment_spinner_elem{:style=>'display:none'}
71
71
  %img{ :src => "/assets/medivo/ajax_waiting.gif", :height => "20", :width => "20"}
72
72
  .error_message
73
73
   
@@ -13104,3 +13104,541 @@ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F17%2F2011&la
13104
13104
  Processing by Medivo::LabsController#find_appointment as JS
13105
13105
  Parameters: {"utf8"=>"✓", "date"=>"11/17/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13106
13106
  Completed 200 OK in 15ms (Views: 4.7ms)
13107
+
13108
+
13109
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-15 11:02:03 -0500
13110
+ Processing by LabsController#lab_search as HTML
13111
+ Parameters: {"zip_code"=>"90210"}
13112
+ Rendered labs/search.html.haml within layouts/application (28.9ms)
13113
+ Compiled application.css (1ms) (pid 1738)
13114
+ Compiled application.js (8ms) (pid 1738)
13115
+ Compiled jquery.js (4ms) (pid 1738)
13116
+ Compiled jquery_ujs.js (0ms) (pid 1738)
13117
+ Compiled medivo/lab_list/application.js (8ms) (pid 1738)
13118
+ Compiled medivo/handlebars.js (1ms) (pid 1738)
13119
+ Compiled medivo/helpers.js (173ms) (pid 1738)
13120
+ Compiled medivo/lab_list/models.js (207ms) (pid 1738)
13121
+ Compiled medivo/models.js (165ms) (pid 1738)
13122
+ Compiled medivo/lab_list/views.js (183ms) (pid 1738)
13123
+ Compiled medivo/views.js (166ms) (pid 1738)
13124
+ Compiled medivo/lab_list/handlers.js (163ms) (pid 1738)
13125
+ Compiled medivo/lab_list/sample/show_labs.js (185ms) (pid 1738)
13126
+ Compiled medivo/lab_appointment/application.js (13ms) (pid 1738)
13127
+ Compiled medivo/date.js (1ms) (pid 1738)
13128
+ Compiled medivo/lab_appointment/models.js (164ms) (pid 1738)
13129
+ Compiled medivo/lab_appointment/views.js (162ms) (pid 1738)
13130
+ Compiled medivo/lab_appointment/handlers.js (170ms) (pid 1738)
13131
+ Compiled medivo/lab_appointment/sample/show_appointments.js (184ms) (pid 1738)
13132
+ Completed 200 OK in 5265ms (Views: 2182.9ms)
13133
+
13134
+
13135
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13136
+ Served asset /application.css - 304 Not Modified (0ms)
13137
+
13138
+
13139
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13140
+ Served asset /medivo/handlebars.js - 304 Not Modified (4ms)
13141
+
13142
+
13143
+ Started GET "/assets/medivo/helpers.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13144
+ Served asset /medivo/helpers.js - 304 Not Modified (2ms)
13145
+
13146
+
13147
+ Started GET "/assets/medivo/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13148
+ Served asset /medivo/models.js - 304 Not Modified (2ms)
13149
+
13150
+
13151
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13152
+ Served asset /jquery.js - 304 Not Modified (3ms)
13153
+
13154
+
13155
+ Started GET "/assets/medivo/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13156
+ Served asset /medivo/views.js - 304 Not Modified (2ms)
13157
+
13158
+
13159
+ Started GET "/assets/medivo/lab_list/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13160
+ Served asset /medivo/lab_list/models.js - 304 Not Modified (2ms)
13161
+
13162
+
13163
+ Started GET "/assets/medivo/lab_list/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13164
+ Served asset /medivo/lab_list/views.js - 304 Not Modified (2ms)
13165
+
13166
+
13167
+ Started GET "/assets/medivo/lab_list/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13168
+ Served asset /medivo/lab_list/handlers.js - 200 OK (2ms)
13169
+
13170
+
13171
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13172
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
13173
+
13174
+
13175
+ Started GET "/assets/medivo/lab_list/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13176
+ Served asset /medivo/lab_list/application.js - 200 OK (5ms)
13177
+
13178
+
13179
+ Started GET "/assets/medivo/lab_list/sample/show_labs.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13180
+ Served asset /medivo/lab_list/sample/show_labs.js - 304 Not Modified (3ms)
13181
+
13182
+
13183
+ Started GET "/assets/medivo/date.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13184
+ Served asset /medivo/date.js - 304 Not Modified (3ms)
13185
+
13186
+
13187
+ Started GET "/assets/medivo/lab_appointment/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13188
+ Served asset /medivo/lab_appointment/models.js - 304 Not Modified (2ms)
13189
+
13190
+
13191
+ Started GET "/assets/medivo/lab_appointment/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13192
+ Served asset /medivo/lab_appointment/views.js - 304 Not Modified (2ms)
13193
+
13194
+
13195
+ Started GET "/assets/medivo/lab_appointment/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13196
+ Served asset /medivo/lab_appointment/handlers.js - 200 OK (26ms)
13197
+
13198
+
13199
+ Started GET "/assets/medivo/lab_appointment/sample/show_appointments.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13200
+ Served asset /medivo/lab_appointment/sample/show_appointments.js - 304 Not Modified (2ms)
13201
+
13202
+
13203
+ Started GET "/assets/medivo/lab_appointment/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13204
+ Served asset /medivo/lab_appointment/application.js - 200 OK (3ms)
13205
+
13206
+
13207
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13208
+ Served asset /application.js - 200 OK (0ms)
13209
+
13210
+
13211
+ Started GET "/assets/medivo/ajax_waiting.gif" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13212
+ Served asset /medivo/ajax_waiting.gif - 200 OK (3ms)
13213
+
13214
+
13215
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13216
+ Served asset /medivo/markerA.png - 200 OK (4ms)
13217
+
13218
+
13219
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13220
+ Served asset /medivo/markerB.png - 200 OK (4ms)
13221
+
13222
+
13223
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13224
+ Served asset /medivo/markerC.png - 200 OK (2ms)
13225
+
13226
+
13227
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-15 11:02:08 -0500
13228
+ Served asset /medivo/arrow.png - 200 OK (3ms)
13229
+
13230
+
13231
+ Started GET "/medivo/labs?utf8=%E2%9C%93&zip_code=90210&commit=Search" for 127.0.0.1 at 2011-11-15 11:02:13 -0500
13232
+ Processing by Medivo::LabsController#index as JS
13233
+ Parameters: {"utf8"=>"✓", "zip_code"=>"90210", "commit"=>"Search"}
13234
+ Completed 200 OK in 1268ms (Views: 11.3ms)
13235
+
13236
+
13237
+ Started GET "/medivo/labs?utf8=%E2%9C%93&zip_code=90210&commit=Search" for 127.0.0.1 at 2011-11-15 11:02:16 -0500
13238
+ Processing by Medivo::LabsController#index as JS
13239
+ Parameters: {"utf8"=>"✓", "zip_code"=>"90210", "commit"=>"Search"}
13240
+ Completed 200 OK in 1282ms (Views: 10.6ms)
13241
+
13242
+
13243
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 11:02:19 -0500
13244
+ Processing by Medivo::LabsController#find_appointment as JS
13245
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13246
+ Completed 200 OK in 704ms (Views: 4.6ms)
13247
+
13248
+
13249
+ Started GET "/medivo/labs?utf8=%E2%9C%93&zip_code=90210&commit=Search" for 127.0.0.1 at 2011-11-15 11:02:21 -0500
13250
+ Processing by Medivo::LabsController#index as JS
13251
+ Parameters: {"utf8"=>"✓", "zip_code"=>"90210", "commit"=>"Search"}
13252
+ Completed 200 OK in 1120ms (Views: 10.5ms)
13253
+
13254
+
13255
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 11:02:26 -0500
13256
+ Processing by Medivo::LabsController#find_appointment as JS
13257
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13258
+ Completed 200 OK in 12ms (Views: 4.5ms)
13259
+
13260
+
13261
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 11:02:30 -0500
13262
+ Processing by Medivo::LabsController#find_appointment as JS
13263
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13264
+ Completed 200 OK in 12ms (Views: 4.5ms)
13265
+
13266
+
13267
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-15 11:03:23 -0500
13268
+ Processing by LabsController#lab_search as HTML
13269
+ Parameters: {"zip_code"=>"90210"}
13270
+ Rendered labs/search.html.haml within layouts/application (10.6ms)
13271
+ Compiled medivo/lab_appointment/handlers.js (172ms) (pid 1738)
13272
+ Compiled medivo/lab_appointment/application.js (53ms) (pid 1738)
13273
+ Compiled application.js (8ms) (pid 1738)
13274
+ Completed 200 OK in 1551ms (Views: 279.9ms)
13275
+
13276
+
13277
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13278
+ Served asset /application.css - 304 Not Modified (0ms)
13279
+
13280
+
13281
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13282
+ Served asset /jquery.js - 304 Not Modified (0ms)
13283
+
13284
+
13285
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13286
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
13287
+
13288
+
13289
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13290
+ Served asset /medivo/handlebars.js - 304 Not Modified (0ms)
13291
+
13292
+
13293
+ Started GET "/assets/medivo/helpers.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13294
+ Served asset /medivo/helpers.js - 304 Not Modified (0ms)
13295
+
13296
+
13297
+ Started GET "/assets/medivo/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13298
+ Served asset /medivo/models.js - 304 Not Modified (0ms)
13299
+
13300
+
13301
+ Started GET "/assets/medivo/lab_list/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13302
+ Served asset /medivo/lab_list/models.js - 304 Not Modified (0ms)
13303
+
13304
+
13305
+ Started GET "/assets/medivo/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13306
+ Served asset /medivo/views.js - 304 Not Modified (0ms)
13307
+
13308
+
13309
+ Started GET "/assets/medivo/lab_list/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13310
+ Served asset /medivo/lab_list/views.js - 304 Not Modified (0ms)
13311
+
13312
+
13313
+ Started GET "/assets/medivo/lab_list/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13314
+ Served asset /medivo/lab_list/handlers.js - 304 Not Modified (0ms)
13315
+
13316
+
13317
+ Started GET "/assets/medivo/lab_list/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13318
+ Served asset /medivo/lab_list/application.js - 304 Not Modified (0ms)
13319
+
13320
+
13321
+ Started GET "/assets/medivo/lab_list/sample/show_labs.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13322
+ Served asset /medivo/lab_list/sample/show_labs.js - 304 Not Modified (0ms)
13323
+
13324
+
13325
+ Started GET "/assets/medivo/date.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13326
+ Served asset /medivo/date.js - 304 Not Modified (0ms)
13327
+
13328
+
13329
+ Started GET "/assets/medivo/lab_appointment/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13330
+ Served asset /medivo/lab_appointment/models.js - 304 Not Modified (0ms)
13331
+
13332
+
13333
+ Started GET "/assets/medivo/lab_appointment/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13334
+ Served asset /medivo/lab_appointment/views.js - 304 Not Modified (0ms)
13335
+
13336
+
13337
+ Started GET "/assets/medivo/lab_appointment/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13338
+ Served asset /medivo/lab_appointment/handlers.js - 200 OK (2ms)
13339
+
13340
+
13341
+ Started GET "/assets/medivo/lab_appointment/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13342
+ Served asset /medivo/lab_appointment/application.js - 200 OK (4ms)
13343
+
13344
+
13345
+ Started GET "/assets/medivo/lab_appointment/sample/show_appointments.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13346
+ Served asset /medivo/lab_appointment/sample/show_appointments.js - 304 Not Modified (0ms)
13347
+
13348
+
13349
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13350
+ Served asset /application.js - 200 OK (0ms)
13351
+
13352
+
13353
+ Started GET "/assets/medivo/ajax_waiting.gif" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13354
+ Served asset /medivo/ajax_waiting.gif - 304 Not Modified (0ms)
13355
+
13356
+
13357
+ Started GET "/assets/medivo/ajax_waiting.gif" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13358
+ Served asset /medivo/ajax_waiting.gif - 304 Not Modified (0ms)
13359
+
13360
+
13361
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13362
+ Served asset /medivo/markerA.png - 304 Not Modified (0ms)
13363
+
13364
+
13365
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13366
+ Served asset /medivo/markerB.png - 304 Not Modified (0ms)
13367
+
13368
+
13369
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13370
+ Served asset /medivo/markerC.png - 304 Not Modified (0ms)
13371
+
13372
+
13373
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13374
+ Served asset /medivo/arrow.png - 304 Not Modified (0ms)
13375
+
13376
+
13377
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13378
+ Served asset /medivo/markerA.png - 304 Not Modified (0ms)
13379
+
13380
+
13381
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13382
+ Served asset /medivo/markerB.png - 304 Not Modified (0ms)
13383
+
13384
+
13385
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-15 11:03:25 -0500
13386
+ Served asset /medivo/markerC.png - 304 Not Modified (0ms)
13387
+
13388
+
13389
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 11:03:27 -0500
13390
+ Processing by Medivo::LabsController#find_appointment as JS
13391
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13392
+ Completed 200 OK in 12ms (Views: 4.7ms)
13393
+
13394
+
13395
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 11:03:31 -0500
13396
+ Processing by Medivo::LabsController#find_appointment as JS
13397
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13398
+ Completed 200 OK in 12ms (Views: 4.6ms)
13399
+
13400
+
13401
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 11:03:32 -0500
13402
+ Processing by Medivo::LabsController#find_appointment as JS
13403
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13404
+ Completed 200 OK in 33ms (Views: 4.4ms)
13405
+
13406
+
13407
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-15 11:04:21 -0500
13408
+ Processing by LabsController#lab_search as HTML
13409
+ Parameters: {"zip_code"=>"90210"}
13410
+ Rendered labs/search.html.haml within layouts/application (21.3ms)
13411
+ Completed 200 OK in 1370ms (Views: 29.1ms)
13412
+
13413
+
13414
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13415
+ Served asset /application.css - 304 Not Modified (0ms)
13416
+
13417
+
13418
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13419
+ Served asset /jquery.js - 304 Not Modified (0ms)
13420
+
13421
+
13422
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13423
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
13424
+
13425
+
13426
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13427
+ Served asset /medivo/handlebars.js - 304 Not Modified (0ms)
13428
+
13429
+
13430
+ Started GET "/assets/medivo/lab_list/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13431
+ Served asset /medivo/lab_list/models.js - 304 Not Modified (0ms)
13432
+
13433
+
13434
+ Started GET "/assets/medivo/helpers.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13435
+ Served asset /medivo/helpers.js - 304 Not Modified (0ms)
13436
+
13437
+
13438
+ Started GET "/assets/medivo/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13439
+ Served asset /medivo/models.js - 304 Not Modified (0ms)
13440
+
13441
+
13442
+ Started GET "/assets/medivo/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13443
+ Served asset /medivo/views.js - 304 Not Modified (0ms)
13444
+
13445
+
13446
+ Started GET "/assets/medivo/lab_list/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13447
+ Served asset /medivo/lab_list/views.js - 304 Not Modified (0ms)
13448
+
13449
+
13450
+ Started GET "/assets/medivo/lab_list/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13451
+ Served asset /medivo/lab_list/handlers.js - 304 Not Modified (0ms)
13452
+
13453
+
13454
+ Started GET "/assets/medivo/lab_list/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13455
+ Served asset /medivo/lab_list/application.js - 304 Not Modified (0ms)
13456
+
13457
+
13458
+ Started GET "/assets/medivo/lab_list/sample/show_labs.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13459
+ Served asset /medivo/lab_list/sample/show_labs.js - 304 Not Modified (0ms)
13460
+
13461
+
13462
+ Started GET "/assets/medivo/date.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13463
+ Served asset /medivo/date.js - 304 Not Modified (0ms)
13464
+
13465
+
13466
+ Started GET "/assets/medivo/lab_appointment/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13467
+ Served asset /medivo/lab_appointment/models.js - 304 Not Modified (0ms)
13468
+
13469
+
13470
+ Started GET "/assets/medivo/lab_appointment/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13471
+ Served asset /medivo/lab_appointment/views.js - 304 Not Modified (0ms)
13472
+
13473
+
13474
+ Started GET "/assets/medivo/lab_appointment/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13475
+ Served asset /medivo/lab_appointment/handlers.js - 304 Not Modified (0ms)
13476
+
13477
+
13478
+ Started GET "/assets/medivo/lab_appointment/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13479
+ Served asset /medivo/lab_appointment/application.js - 304 Not Modified (0ms)
13480
+
13481
+
13482
+ Started GET "/assets/medivo/lab_appointment/sample/show_appointments.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13483
+ Served asset /medivo/lab_appointment/sample/show_appointments.js - 304 Not Modified (0ms)
13484
+
13485
+
13486
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13487
+ Served asset /application.js - 304 Not Modified (1ms)
13488
+
13489
+
13490
+ Started GET "/assets/medivo/ajax_waiting.gif" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13491
+ Served asset /medivo/ajax_waiting.gif - 304 Not Modified (0ms)
13492
+
13493
+
13494
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13495
+ Served asset /medivo/handlebars.js - 304 Not Modified (0ms)
13496
+
13497
+
13498
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13499
+ Served asset /medivo/markerA.png - 304 Not Modified (0ms)
13500
+
13501
+
13502
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13503
+ Served asset /medivo/markerC.png - 304 Not Modified (0ms)
13504
+
13505
+
13506
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-15 11:04:22 -0500
13507
+ Served asset /medivo/markerB.png - 304 Not Modified (0ms)
13508
+
13509
+
13510
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-15 11:04:23 -0500
13511
+ Served asset /medivo/arrow.png - 304 Not Modified (0ms)
13512
+
13513
+
13514
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 11:04:25 -0500
13515
+ Processing by Medivo::LabsController#find_appointment as JS
13516
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13517
+ Completed 200 OK in 12ms (Views: 4.6ms)
13518
+
13519
+
13520
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 11:04:28 -0500
13521
+ Processing by Medivo::LabsController#find_appointment as JS
13522
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13523
+ Completed 200 OK in 12ms (Views: 4.6ms)
13524
+
13525
+
13526
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-15 11:04:39 -0500
13527
+ Processing by LabsController#lab_search as HTML
13528
+ Parameters: {"zip_code"=>"90210"}
13529
+ Rendered labs/search.html.haml within layouts/application (10.5ms)
13530
+ Compiled medivo/lab_appointment/handlers.js (173ms) (pid 1738)
13531
+ Compiled medivo/lab_appointment/application.js (52ms) (pid 1738)
13532
+ Compiled application.js (8ms) (pid 1738)
13533
+ Completed 200 OK in 2729ms (Views: 274.6ms)
13534
+
13535
+
13536
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13537
+ Served asset /application.css - 304 Not Modified (0ms)
13538
+
13539
+
13540
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13541
+ Served asset /jquery.js - 304 Not Modified (0ms)
13542
+
13543
+
13544
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13545
+ Served asset /medivo/handlebars.js - 304 Not Modified (0ms)
13546
+
13547
+
13548
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13549
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
13550
+
13551
+
13552
+ Started GET "/assets/medivo/helpers.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13553
+ Served asset /medivo/helpers.js - 304 Not Modified (0ms)
13554
+
13555
+
13556
+ Started GET "/assets/medivo/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13557
+ Served asset /medivo/models.js - 304 Not Modified (0ms)
13558
+
13559
+
13560
+ Started GET "/assets/medivo/lab_list/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13561
+ Served asset /medivo/lab_list/models.js - 304 Not Modified (0ms)
13562
+
13563
+
13564
+ Started GET "/assets/medivo/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13565
+ Served asset /medivo/views.js - 304 Not Modified (0ms)
13566
+
13567
+
13568
+ Started GET "/assets/medivo/lab_list/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13569
+ Served asset /medivo/lab_list/views.js - 304 Not Modified (0ms)
13570
+
13571
+
13572
+ Started GET "/assets/medivo/lab_list/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13573
+ Served asset /medivo/lab_list/handlers.js - 304 Not Modified (0ms)
13574
+
13575
+
13576
+ Started GET "/assets/medivo/lab_list/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13577
+ Served asset /medivo/lab_list/application.js - 304 Not Modified (0ms)
13578
+
13579
+
13580
+ Started GET "/assets/medivo/lab_list/sample/show_labs.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13581
+ Served asset /medivo/lab_list/sample/show_labs.js - 304 Not Modified (0ms)
13582
+
13583
+
13584
+ Started GET "/assets/medivo/date.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13585
+ Served asset /medivo/date.js - 304 Not Modified (0ms)
13586
+
13587
+
13588
+ Started GET "/assets/medivo/lab_appointment/models.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13589
+ Served asset /medivo/lab_appointment/models.js - 304 Not Modified (0ms)
13590
+
13591
+
13592
+ Started GET "/assets/medivo/lab_appointment/views.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13593
+ Served asset /medivo/lab_appointment/views.js - 304 Not Modified (0ms)
13594
+
13595
+
13596
+ Started GET "/assets/medivo/lab_appointment/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13597
+ Served asset /medivo/lab_appointment/handlers.js - 200 OK (4ms)
13598
+
13599
+
13600
+ Started GET "/assets/medivo/lab_appointment/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13601
+ Served asset /medivo/lab_appointment/application.js - 200 OK (4ms)
13602
+
13603
+
13604
+ Started GET "/assets/medivo/lab_appointment/sample/show_appointments.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13605
+ Served asset /medivo/lab_appointment/sample/show_appointments.js - 304 Not Modified (0ms)
13606
+
13607
+
13608
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13609
+ Served asset /application.js - 200 OK (0ms)
13610
+
13611
+
13612
+ Started GET "/assets/medivo/ajax_waiting.gif" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13613
+ Served asset /medivo/ajax_waiting.gif - 304 Not Modified (0ms)
13614
+
13615
+
13616
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13617
+ Served asset /medivo/markerA.png - 304 Not Modified (0ms)
13618
+
13619
+
13620
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13621
+ Served asset /medivo/markerB.png - 304 Not Modified (0ms)
13622
+
13623
+
13624
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-15 11:04:42 -0500
13625
+ Served asset /medivo/markerC.png - 304 Not Modified (0ms)
13626
+
13627
+
13628
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-15 11:04:43 -0500
13629
+ Served asset /medivo/arrow.png - 304 Not Modified (0ms)
13630
+
13631
+
13632
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 11:04:44 -0500
13633
+ Processing by Medivo::LabsController#find_appointment as JS
13634
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
13635
+ Completed 200 OK in 12ms (Views: 4.6ms)
13636
+
13637
+
13638
+ Started GET "/assets/layout/favicon.ico" for 127.0.0.1 at 2011-11-15 11:05:50 -0500
13639
+ Served asset /layout/favicon.ico - 404 Not Found (2ms)
13640
+
13641
+ ActionController::RoutingError (No route matches [GET] "/assets/layout/favicon.ico"):
13642
+
13643
+
13644
+ Rendered /Users/danielsudol/.rvm/gems/ruby-1.9.2-p290@medivo_resource/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
@@ -2755,3 +2755,153 @@ Started POST "/medivo/labs/make_appointment" for 127.0.0.1 at 2011-11-14 18:36:3
2755
2755
  Processing by Medivo::LabsController#make_appointment as HTML
2756
2756
  Parameters: {"lab_code"=>"20060", "time_id"=>"11/01/2011|8:30 AM", "user"=>{"first_name"=>"dude", "last_name"=>"man", "date_of_birth"=>"12/28/1980", "email_address"=>"dudeman@dude.com", "phone_number"=>"4155551212"}}
2757
2757
  Completed 200 OK in 1ms (Views: 0.2ms)
2758
+ Processing by OrdersController#download_requisition as HTML
2759
+ Rendered text template (0.0ms)
2760
+ Sent data unitedhealthcare_requisition.pdf (111.0ms)
2761
+ Completed 200 OK in 1055ms (Views: 110.5ms)
2762
+ Processing by OrdersController#download_result as HTML
2763
+ Sent data unitedhealthcare_result.pdf (2.1ms)
2764
+ Completed 200 OK in 703ms (Views: 1.4ms)
2765
+
2766
+
2767
+ Started GET "/medivo/labs?zip_code=90210" for 127.0.0.1 at 2011-11-14 19:16:12 -0500
2768
+ Processing by Medivo::LabsController#index as HTML
2769
+ Parameters: {"zip_code"=>"90210"}
2770
+ Completed 200 OK in 385ms (Views: 2.2ms)
2771
+
2772
+
2773
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-14 19:16:16 -0500
2774
+ Processing by LabsController#lab_search as HTML
2775
+ Parameters: {"zip_code"=>"90210"}
2776
+ Completed 200 OK in 300ms (Views: 66.5ms)
2777
+
2778
+
2779
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-11-14 19:16:16 -0500
2780
+ Compiled medivo/lab_list/handlers.js (226ms) (pid 688)
2781
+ Compiled medivo/lab_list/application.js (19ms) (pid 688)
2782
+ Compiled medivo/lab_appointment/handlers.js (359ms) (pid 688)
2783
+ Compiled medivo/lab_appointment/application.js (20ms) (pid 688)
2784
+ Compiled application.js (17ms) (pid 688)
2785
+ Served asset /application.js - 200 OK (730ms)
2786
+
2787
+
2788
+ Started GET "/assets/application.css" for 127.0.0.1 at 2011-11-14 19:16:17 -0500
2789
+ Served asset /application.css - 200 OK (3ms)
2790
+
2791
+
2792
+ Started GET "/assets/medivo/ajax_waiting.gif" for 127.0.0.1 at 2011-11-14 19:16:17 -0500
2793
+ Served asset /medivo/ajax_waiting.gif - 200 OK (3ms)
2794
+
2795
+
2796
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-14 19:16:17 -0500
2797
+ Served asset /medivo/markerA.png - 200 OK (3ms)
2798
+
2799
+
2800
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-14 19:16:17 -0500
2801
+ Served asset /medivo/markerB.png - 200 OK (3ms)
2802
+
2803
+
2804
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-14 19:16:17 -0500
2805
+ Served asset /medivo/arrow.png - 200 OK (2ms)
2806
+
2807
+
2808
+ Started GET "/medivo/labs/find_appointment?date=11%2F01%2F2011&lab_code=20060" for 127.0.0.1 at 2011-11-14 19:16:18 -0500
2809
+ Processing by Medivo::LabsController#find_appointment as HTML
2810
+ Parameters: {"date"=>"11/01/2011", "lab_code"=>"20060"}
2811
+ Completed 200 OK in 2ms (Views: 0.7ms)
2812
+
2813
+
2814
+ Started GET "/medivo/labs/find_appointment?date=11%2F01%2F2011&lab_code=20060" for 127.0.0.1 at 2011-11-14 19:16:18 -0500
2815
+ Processing by Medivo::LabsController#find_appointment as HTML
2816
+ Parameters: {"date"=>"11/01/2011", "lab_code"=>"20060"}
2817
+ Completed 200 OK in 1ms (Views: 0.3ms)
2818
+
2819
+
2820
+ Started GET "/medivo/labs/find_appointment?date=11%2F01%2F2011&lab_code=20060" for 127.0.0.1 at 2011-11-14 19:16:18 -0500
2821
+ Processing by Medivo::LabsController#find_appointment as HTML
2822
+ Parameters: {"date"=>"11/01/2011", "lab_code"=>"20060"}
2823
+ Completed 404 Not Found in 1ms (Views: 0.4ms)
2824
+
2825
+
2826
+ Started POST "/medivo/labs/make_appointment" for 127.0.0.1 at 2011-11-14 19:16:18 -0500
2827
+ Processing by Medivo::LabsController#make_appointment as HTML
2828
+ Parameters: {"lab_code"=>"20060", "time"=>"2011-11-01 08:30:00 -0400", "user"=>{"first_name"=>"dude", "last_name"=>"man", "date_of_birth"=>"12/28/1980", "email_address"=>"dudeman@dude.com", "phone_number"=>"4155551212"}}
2829
+ Completed 200 OK in 5ms (Views: 0.3ms)
2830
+
2831
+
2832
+ Started GET "/medivo/labs?zip_code=90210" for 127.0.0.1 at 2011-11-15 10:38:29 -0500
2833
+ Processing by Medivo::LabsController#index as HTML
2834
+ Parameters: {"zip_code"=>"90210"}
2835
+ Completed 200 OK in 388ms (Views: 1.8ms)
2836
+
2837
+
2838
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-15 10:38:32 -0500
2839
+ Processing by LabsController#lab_search as HTML
2840
+ Parameters: {"zip_code"=>"90210"}
2841
+ Completed 200 OK in 299ms (Views: 94.8ms)
2842
+
2843
+
2844
+ Started GET "/assets/application.css" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2845
+ Served asset /application.css - 200 OK (9ms)
2846
+
2847
+
2848
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2849
+ Served asset /application.js - 200 OK (124ms)
2850
+
2851
+
2852
+ Started GET "/assets/medivo/ajax_waiting.gif" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2853
+ Served asset /medivo/ajax_waiting.gif - 200 OK (3ms)
2854
+
2855
+
2856
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2857
+ Served asset /medivo/markerA.png - 200 OK (2ms)
2858
+
2859
+
2860
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2861
+ Served asset /medivo/markerB.png - 200 OK (2ms)
2862
+
2863
+
2864
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2865
+ Served asset /medivo/arrow.png - 200 OK (3ms)
2866
+
2867
+
2868
+ Started GET "/medivo/labs/find_appointment?date=11%2F01%2F2011&lab_code=20060" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2869
+ Processing by Medivo::LabsController#find_appointment as HTML
2870
+ Parameters: {"date"=>"11/01/2011", "lab_code"=>"20060"}
2871
+ Completed 200 OK in 1ms (Views: 0.3ms)
2872
+
2873
+
2874
+ Started GET "/medivo/labs/find_appointment?date=11%2F01%2F2011&lab_code=20060" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2875
+ Processing by Medivo::LabsController#find_appointment as HTML
2876
+ Parameters: {"date"=>"11/01/2011", "lab_code"=>"20060"}
2877
+ Completed 200 OK in 1ms (Views: 0.2ms)
2878
+
2879
+
2880
+ Started GET "/medivo/labs/find_appointment?date=11%2F01%2F2011&lab_code=20060" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2881
+ Processing by Medivo::LabsController#find_appointment as HTML
2882
+ Parameters: {"date"=>"11/01/2011", "lab_code"=>"20060"}
2883
+ Completed 404 Not Found in 1ms (Views: 0.3ms)
2884
+
2885
+
2886
+ Started POST "/medivo/labs/make_appointment" for 127.0.0.1 at 2011-11-15 10:38:33 -0500
2887
+ Processing by Medivo::LabsController#make_appointment as HTML
2888
+ Parameters: {"lab_code"=>"20060", "time"=>"2011-11-01 08:30:00 -0400", "user"=>{"first_name"=>"dude", "last_name"=>"man", "date_of_birth"=>"12/28/1980", "email_address"=>"dudeman@dude.com", "phone_number"=>"4155551212"}}
2889
+ Completed 200 OK in 3ms (Views: 0.2ms)
2890
+
2891
+
2892
+ Started POST "/medivo/labs/make_appointment" for 127.0.0.1 at 2011-11-15 10:48:26 -0500
2893
+ Processing by Medivo::LabsController#make_appointment as HTML
2894
+ Parameters: {"lab_code"=>"20060", "time"=>"2011-11-01 08:30:00 -0400", "user"=>{"first_name"=>"dude", "last_name"=>"man", "date_of_birth"=>"12/28/1980", "email_address"=>"dudeman@dude.com", "phone_number"=>"4155551212"}}
2895
+ Completed 200 OK in 7ms (Views: 1.1ms)
2896
+
2897
+
2898
+ Started POST "/medivo/labs/make_appointment" for 127.0.0.1 at 2011-11-15 10:48:51 -0500
2899
+ Processing by Medivo::LabsController#make_appointment as HTML
2900
+ Parameters: {"lab_code"=>"20060", "time"=>"2011-11-01 08:30:00 UTC", "user"=>{"first_name"=>"dude", "last_name"=>"man", "date_of_birth"=>"12/28/1980", "email_address"=>"dudeman@dude.com", "phone_number"=>"4155551212"}}
2901
+ Completed 200 OK in 7ms (Views: 1.1ms)
2902
+
2903
+
2904
+ Started POST "/medivo/labs/make_appointment" for 127.0.0.1 at 2011-11-15 10:53:16 -0500
2905
+ Processing by Medivo::LabsController#make_appointment as HTML
2906
+ Parameters: {"lab_code"=>"20060", "time"=>"2011-11-01 08:30:00 UTC", "user"=>{"first_name"=>"dude", "last_name"=>"man", "date_of_birth"=>"12/28/1980", "email_address"=>"dudeman@dude.com", "phone_number"=>"4155551212"}}
2907
+ Completed 200 OK in 4ms (Views: 1.1ms)
@@ -0,0 +1 @@
1
+ 1738
@@ -48,7 +48,7 @@ describe Medivo::Appointment do
48
48
  describe "making appointments" do
49
49
 
50
50
  describe "with valid data" do
51
- let(:time) { Time.parse("2011-11-03 08:30 AM") }
51
+ let(:time) { Time.zone.parse("2011-11-03 08:30 AM") }
52
52
  let(:user) { {first_name: 'dude', last_name: 'man', date_of_birth: '12/28/1980',
53
53
  email_address: 'dudeman@dude.com', phone_number: '4155551212'} }
54
54
  let(:confirmation_code) { '123' }
@@ -72,17 +72,17 @@ describe 'LabController' do
72
72
  describe "making appointments" do
73
73
  before do
74
74
  @lab_code = "20060"
75
- @time_id = "11/01/2011|8:30 AM"
75
+ @time = Time.parse("2011-11-01 8:30 AM UTC")
76
76
  @user = {first_name: 'dude', last_name: 'man', date_of_birth: '12/28/1980',
77
77
  email_address: 'dudeman@dude.com', phone_number: '4155551212'}
78
- @params = { lab_code: @lab_code, time_id: @time_id, user: @user }
78
+ @params = { lab_code: @lab_code, time: @time, user: @user }
79
79
  end
80
80
 
81
81
  let(:path) { Medivo::Engine.routes.url_helpers.make_appointment_labs_path }
82
82
 
83
83
  it "make appointment" do
84
84
  response_body = { confirmation: '123' }
85
- stub(Medivo::Appointment).make(@lab_code, @time_id, hash_including(@user) ) { response_body }
85
+ stub(Medivo::Appointment).make(@lab_code, @time, hash_including(@user) ) { response_body }
86
86
  post path, @params
87
87
  response.body.should == response_body.to_json
88
88
  end
@@ -88,8 +88,9 @@ module Medivo::Spec
88
88
  to_return(:body => body, :status=>status)
89
89
  end
90
90
 
91
- def stub_appointment_confirmation(lab_code, time_id, user, return_body, status= 200)
91
+ def stub_appointment_confirmation(lab_code, time, user, return_body, status= 200)
92
92
  return_body = return_body.is_a?(String) ? return_body : return_body.to_json
93
+ time_id = time.strftime(Medivo::Appointment::LABCORP_FORMAT)
93
94
  stub_request(:post, "http://test.medivo.com").
94
95
  with( body: { params: { labcorp_id: lab_code, time_id: time_id, user: user} } ).
95
96
  to_return(:body => return_body, :status=>status)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: medivo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-14 00:00:00.000000000 -05:00
12
+ date: 2011-11-15 00:00:00.000000000 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &2165108740 !ruby/object:Gem::Requirement
17
+ requirement: &2158335120 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2165108740
25
+ version_requirements: *2158335120
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: jquery-rails
28
- requirement: &2165108320 !ruby/object:Gem::Requirement
28
+ requirement: &2158334500 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2165108320
36
+ version_requirements: *2158334500
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: coffee-script
39
- requirement: &2165107840 !ruby/object:Gem::Requirement
39
+ requirement: &2158334000 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2165107840
47
+ version_requirements: *2158334000
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: haml-rails
50
- requirement: &2165107420 !ruby/object:Gem::Requirement
50
+ requirement: &2158333480 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *2165107420
58
+ version_requirements: *2158333480
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: geocoder
61
- requirement: &2165107000 !ruby/object:Gem::Requirement
61
+ requirement: &2158313960 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '0'
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *2165107000
69
+ version_requirements: *2158313960
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rest-client
72
- requirement: &2165106580 !ruby/object:Gem::Requirement
72
+ requirement: &2158313300 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *2165106580
80
+ version_requirements: *2158313300
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: pdfkit
83
- requirement: &2165106160 !ruby/object:Gem::Requirement
83
+ requirement: &2158312680 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: '0'
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *2165106160
91
+ version_requirements: *2158312680
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: prawn
94
- requirement: &2165105740 !ruby/object:Gem::Requirement
94
+ requirement: &2158311940 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ! '>='
@@ -99,7 +99,7 @@ dependencies:
99
99
  version: '0'
100
100
  type: :runtime
101
101
  prerelease: false
102
- version_requirements: *2165105740
102
+ version_requirements: *2158311940
103
103
  description: Use the medivo platform to find lab locations, make labcorp appointments,
104
104
  place lab orders
105
105
  email:
@@ -269,6 +269,7 @@ files:
269
269
  - spec/dummy/tmp/cache/assets/E32/FC0/sprockets%2Fe55fb2eef11567fe04fdaf7e73af5ba4
270
270
  - spec/dummy/tmp/cache/assets/E59/D50/sprockets%2Fbe1cc4d9b0efb617e58baa16dd1dee58
271
271
  - spec/dummy/tmp/image_path_fb5f3a59200b_1320622886.pdf
272
+ - spec/dummy/tmp/pids/server.pid
272
273
  - spec/fixtures/hl7/lc_hga1c_abnormal.hl7
273
274
  - spec/fixtures/hl7/lc_hga1c_normal.hl7
274
275
  - spec/fixtures/images/southeast.jpg
@@ -311,7 +312,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
311
312
  version: '0'
312
313
  segments:
313
314
  - 0
314
- hash: 84934168393631311
315
+ hash: 3568033732738677698
315
316
  required_rubygems_version: !ruby/object:Gem::Requirement
316
317
  none: false
317
318
  requirements:
@@ -320,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
321
  version: '0'
321
322
  segments:
322
323
  - 0
323
- hash: 84934168393631311
324
+ hash: 3568033732738677698
324
325
  requirements: []
325
326
  rubyforge_project:
326
327
  rubygems_version: 1.6.2
@@ -428,6 +429,7 @@ test_files:
428
429
  - spec/dummy/tmp/cache/assets/E32/FC0/sprockets%2Fe55fb2eef11567fe04fdaf7e73af5ba4
429
430
  - spec/dummy/tmp/cache/assets/E59/D50/sprockets%2Fbe1cc4d9b0efb617e58baa16dd1dee58
430
431
  - spec/dummy/tmp/image_path_fb5f3a59200b_1320622886.pdf
432
+ - spec/dummy/tmp/pids/server.pid
431
433
  - spec/fixtures/hl7/lc_hga1c_abnormal.hl7
432
434
  - spec/fixtures/hl7/lc_hga1c_normal.hl7
433
435
  - spec/fixtures/images/southeast.jpg