kinney 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. data/README.markdown +2 -2
  2. data/Rakefile +4 -0
  3. data/app/admin/clips.rb +40 -1
  4. data/app/assets/javascripts/kinney/admin/video_preview.js +1 -1
  5. data/app/controllers/kinney/tracker_controller.rb +0 -34
  6. data/app/helpers/kinney/general_helper.rb +1 -1
  7. data/app/models/kinney/clip.rb +5 -2
  8. data/app/models/kinney/person.rb +11 -11
  9. data/app/views/{kinney/tracker → admin/kinney_clips}/_video_engagement_chart.html.erb +15 -0
  10. data/app/views/{kinney/tracker/analyze.html.erb → admin/kinney_clips/analyze_tracker.html.erb} +5 -3
  11. data/app/views/kinney/clips/show.html.erb +1 -1
  12. data/app/views/kinney/people/index.html.erb +4 -3
  13. data/app/views/kinney/sitemap/index.xml.builder +1 -1
  14. data/config/routes.rb +1 -1
  15. data/lib/kinney/version.rb +1 -1
  16. data/test/dummy/db/development.sqlite3 +0 -0
  17. data/test/dummy/db/test.sqlite3 +0 -0
  18. data/test/dummy/log/development.log +33694 -0
  19. data/test/dummy/log/test.log +29895 -0
  20. data/test/dummy/tmp/cache/assets/CBF/9B0/sprockets%2Fe283548d3ef4505c82279198e09b53fa +0 -0
  21. data/test/dummy/tmp/cache/assets/D0B/560/sprockets%2F33db47d8bb65ee7457b03336420a55fd +0 -0
  22. data/test/functional/kinney/admin_clips_controller_test.rb +24 -0
  23. data/test/functional/kinney/clips_controller_test.rb +5 -3
  24. data/test/functional/kinney/people_controller_test.rb +5 -3
  25. data/test/functional/kinney/tracker_controller_test.rb +0 -6
  26. data/test/integration/admin_clip_test.rb +14 -11
  27. data/test/integration/admin_images_test.rb +8 -7
  28. data/test/integration/clips_index_test.rb +9 -6
  29. data/test/integration/clips_show_test.rb +11 -8
  30. data/test/integration/microdata_test.rb +40 -0
  31. data/test/integration/navigation_test.rb +7 -5
  32. data/test/integration/people_index_test.rb +7 -4
  33. data/test/integration/people_show_test.rb +14 -12
  34. data/test/support/test_with_cassette.rb +38 -0
  35. data/test/test_helper.rb +18 -2
  36. data/test/unit/clip_test.rb +5 -0
  37. data/test/vcr_cassettes/admin_clip/add_a_description_for_a_clip.yml +272 -0
  38. data/test/vcr_cassettes/admin_clip/admin_user_can_create_new_clip.yml +114 -0
  39. data/test/vcr_cassettes/admin_clip/display_whether_there_is_a_VTT_file_for_a_clip.yml +613 -0
  40. data/test/vcr_cassettes/admin_clip/do_not_allow_submission_of_clip_if_there_is_no_webvtt_file.yml +567 -0
  41. data/test/vcr_cassettes/admin_images/user_should_not_be_able_to_create_slug.yml +967 -0
  42. data/test/vcr_cassettes/admin_images/user_should_see_associated_name_for_image_on_index_view.yml +561 -0
  43. data/test/vcr_cassettes/admin_images/user_should_see_associated_name_for_image_on_show_view.yml +162 -0
  44. data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_edit_page.yml +186 -0
  45. data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_new_image_page.yml +374 -0
  46. data/test/vcr_cassettes/admin_images/user_should_see_image_for_valid_image_on_show_page.yml +193 -0
  47. data/test/vcr_cassettes/clips_controller/should_assign_a_webvtt_variable.yml +154 -0
  48. data/test/vcr_cassettes/clips_controller/should_assign_title_for_a_show_view.yml +136 -0
  49. data/test/vcr_cassettes/clips_controller/should_get_show.yml +136 -0
  50. data/test/vcr_cassettes/clips_index/clicking_on_a_video_thumbnail_should_go_to_a_video_clip.yml +154 -0
  51. data/test/vcr_cassettes/clips_show/should_expand/collapse_the_transcript.yml +154 -0
  52. data/test/vcr_cassettes/clips_show/should_have_link_to_other_videos_by_the_same_person.yml +136 -0
  53. data/test/vcr_cassettes/clips_show/should_have_link_to_profile.yml +136 -0
  54. data/test/vcr_cassettes/clips_show/should_not_see_More_videos_on_topics_with_link_under_video.yml +136 -0
  55. data/test/vcr_cassettes/clips_show/should_not_see_Video_Topics_section_on_page.yml +136 -0
  56. data/test/vcr_cassettes/clips_show/should_show_basic_information_about_a_clip.yml +136 -0
  57. data/test/vcr_cassettes/clips_show/should_show_other_clips_related_by_topic.yml +136 -0
  58. data/test/vcr_cassettes/clips_show/should_show_the_transcript.yml +154 -0
  59. data/test/vcr_cassettes/microdata/clip_show_view_should_have_microdata.yml +136 -0
  60. data/test/vcr_cassettes/microdata/person_show_view_should_have_microdata.yml +399 -0
  61. data/test/vcr_cassettes/navigation/there_should_be_a_link_to_People_in_the_global_navigation.yml +267 -0
  62. data/test/vcr_cassettes/people_controller/should_get_index.yml +267 -0
  63. data/test/vcr_cassettes/people_controller/should_get_show.yml +399 -0
  64. data/test/vcr_cassettes/people_controller/show_view_should_have_a_title.yml +399 -0
  65. data/test/vcr_cassettes/people_index/links_to_show_view_for_person_with_video.yml +663 -0
  66. data/test/vcr_cassettes/people_index/links_to_show_view_for_person_without_video.yml +267 -0
  67. data/test/vcr_cassettes/people_index/shows_people.yml +267 -0
  68. data/test/vcr_cassettes/people_index/sort_profile_images.yml +267 -0
  69. data/test/vcr_cassettes/people_show/if_there_is_only_one_image_and_it_is_a_top_pick_then_do_not_show_the_image_section_of_the_page.yml +135 -0
  70. data/test/vcr_cassettes/people_show/should_display_a_map_if_the_location_the_person_grew_up_is_known.yml +399 -0
  71. data/test/vcr_cassettes/people_show/should_display_the_information_like_description__interview_date_and_time_below_video_clip.yml +136 -0
  72. data/test/vcr_cassettes/people_show/should_give_a_link_to_other_videos_with_the_same_person.yml +534 -0
  73. data/test/vcr_cassettes/people_show/should_not_display_a_map_if_the_location_the_person_grew_up_is_not_known.yml +135 -0
  74. data/test/vcr_cassettes/people_show/should_not_see_the_top_pick_image_with_the_other_images.yml +399 -0
  75. data/test/vcr_cassettes/people_show/should_provide_a_link_to_a_video_as_an_image_and_make_it_a_top_pick.yml +399 -0
  76. data/test/vcr_cassettes/people_show/should_provide_a_link_to_other_videos_as_text_links.yml +399 -0
  77. data/test/vcr_cassettes/people_show/should_show_a_top_pick_image_near_the_biography.yml +399 -0
  78. data/test/vcr_cassettes/people_show/should_show_name_suffix_if_present.yml +135 -0
  79. data/test/vcr_cassettes/people_show/shows_person_content.yml +399 -0
  80. metadata +180 -59
  81. checksums.yaml +0 -7
  82. data/test/dummy/tmp/cache/assets/D36/B10/sprockets%2F3a3013990e54d3e944c21c6a9ed0b5de +0 -0
  83. data/test/dummy/tmp/cache/assets/D55/830/sprockets%2Fbd750c0ba01430d321ae77fbc2b238f9 +0 -0
  84. data/test/dummy/tmp/capybara/capybara-201209271510033933274391.html +0 -13
  85. data/test/dummy/tmp/capybara/capybara-201209271512386994415403.html +0 -13
  86. data/test/dummy/tmp/capybara/capybara-201209271515157873796042.html +0 -165
  87. data/test/dummy/tmp/capybara/capybara-201209271517053504547394.html +0 -165
  88. data/test/dummy/tmp/capybara/capybara-201209271520578220954785.html +0 -165
  89. data/test/dummy/tmp/capybara/capybara-201209271522457231789910.html +0 -165
  90. data/test/dummy/tmp/capybara/capybara-201209271524374294425819.html +0 -165
  91. data/test/dummy/tmp/capybara/capybara-201209271526597280429369.html +0 -165
  92. data/test/dummy/tmp/capybara/capybara-201209271529595570902080.html +0 -165
@@ -0,0 +1,613 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/url
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"url":"http://127.0.0.1:60316/admin/kinney_clips/new"}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json; charset=utf-8
14
+ Content-Length:
15
+ - '55'
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=UTF-8
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '87'
31
+ Server:
32
+ - httpd.js
33
+ Date:
34
+ - Fri, 29 Mar 2013 16:33:15 GMT
35
+ body:
36
+ encoding: UTF-8
37
+ string: '{"name":"get","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":""}'
38
+ http_version:
39
+ recorded_at: Fri, 29 Mar 2013 16:33:15 GMT
40
+ - request:
41
+ method: post
42
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
43
+ body:
44
+ encoding: UTF-8
45
+ string: '{"using":"xpath","value":".//*[self::input | self::textarea][not(./@type
46
+ = ''submit'' or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox''
47
+ or ./@type = ''hidden'' or ./@type = ''file'')][(((./@id = ''Filename'' or
48
+ ./@name = ''Filename'') or ./@placeholder = ''Filename'') or ./@id = //label[contains(normalize-space(string(.)),
49
+ ''Filename'')]/@for)][not(./@disabled)] | .//label[contains(normalize-space(string(.)),
50
+ ''Filename'')]//.//*[self::input | self::textarea][not(./@type = ''submit''
51
+ or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox'' or
52
+ ./@type = ''hidden'' or ./@type = ''file'')][not(./@disabled)]"}'
53
+ headers:
54
+ Accept:
55
+ - application/json
56
+ Content-Type:
57
+ - application/json; charset=utf-8
58
+ Content-Length:
59
+ - '616'
60
+ Accept-Encoding:
61
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
62
+ User-Agent:
63
+ - Ruby
64
+ response:
65
+ status:
66
+ code: 200
67
+ message: OK
68
+ headers:
69
+ Content-Type:
70
+ - application/json; charset=UTF-8
71
+ Connection:
72
+ - close
73
+ Content-Length:
74
+ - '148'
75
+ Server:
76
+ - httpd.js
77
+ Date:
78
+ - Fri, 29 Mar 2013 16:33:15 GMT
79
+ body:
80
+ encoding: UTF-8
81
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{b73a979e-3ca3-4146-a647-b8c2e8a070e3}"}]}'
82
+ http_version:
83
+ recorded_at: Fri, 29 Mar 2013 16:33:15 GMT
84
+ - request:
85
+ method: get
86
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Bb73a979e-3ca3-4146-a647-b8c2e8a070e3%7D/name
87
+ body:
88
+ encoding: US-ASCII
89
+ string: ''
90
+ headers:
91
+ Accept:
92
+ - application/json
93
+ Cache-Control:
94
+ - no-cache
95
+ Accept-Encoding:
96
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
97
+ User-Agent:
98
+ - Ruby
99
+ response:
100
+ status:
101
+ code: 200
102
+ message: OK
103
+ headers:
104
+ Content-Type:
105
+ - application/json; charset=UTF-8
106
+ Connection:
107
+ - close
108
+ Content-Length:
109
+ - '106'
110
+ Server:
111
+ - httpd.js
112
+ Date:
113
+ - Fri, 29 Mar 2013 16:33:15 GMT
114
+ body:
115
+ encoding: UTF-8
116
+ string: '{"name":"getElementTagName","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"input"}'
117
+ http_version:
118
+ recorded_at: Fri, 29 Mar 2013 16:33:15 GMT
119
+ - request:
120
+ method: get
121
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Bb73a979e-3ca3-4146-a647-b8c2e8a070e3%7D/attribute/type
122
+ body:
123
+ encoding: US-ASCII
124
+ string: ''
125
+ headers:
126
+ Accept:
127
+ - application/json
128
+ Cache-Control:
129
+ - no-cache
130
+ Accept-Encoding:
131
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
132
+ User-Agent:
133
+ - Ruby
134
+ response:
135
+ status:
136
+ code: 200
137
+ message: OK
138
+ headers:
139
+ Content-Type:
140
+ - application/json; charset=UTF-8
141
+ Connection:
142
+ - close
143
+ Content-Length:
144
+ - '107'
145
+ Server:
146
+ - httpd.js
147
+ Date:
148
+ - Fri, 29 Mar 2013 16:33:15 GMT
149
+ body:
150
+ encoding: UTF-8
151
+ string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"text"}'
152
+ http_version:
153
+ recorded_at: Fri, 29 Mar 2013 16:33:15 GMT
154
+ - request:
155
+ method: post
156
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/execute
157
+ body:
158
+ encoding: UTF-8
159
+ string: '{"script":"arguments[0].value = ''''","args":[{"ELEMENT":"{b73a979e-3ca3-4146-a647-b8c2e8a070e3}"}]}'
160
+ headers:
161
+ Accept:
162
+ - application/json
163
+ Content-Type:
164
+ - application/json; charset=utf-8
165
+ Content-Length:
166
+ - '98'
167
+ Accept-Encoding:
168
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
169
+ User-Agent:
170
+ - Ruby
171
+ response:
172
+ status:
173
+ code: 200
174
+ message: OK
175
+ headers:
176
+ Content-Type:
177
+ - application/json; charset=UTF-8
178
+ Connection:
179
+ - close
180
+ Content-Length:
181
+ - '99'
182
+ Server:
183
+ - httpd.js
184
+ Date:
185
+ - Fri, 29 Mar 2013 16:33:15 GMT
186
+ body:
187
+ encoding: UTF-8
188
+ string: '{"name":"executeScript","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":null}'
189
+ http_version:
190
+ recorded_at: Fri, 29 Mar 2013 16:33:15 GMT
191
+ - request:
192
+ method: post
193
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Bb73a979e-3ca3-4146-a647-b8c2e8a070e3%7D/value
194
+ body:
195
+ encoding: UTF-8
196
+ string: '{"value":["atkins-campuslife_fire"]}'
197
+ headers:
198
+ Accept:
199
+ - application/json
200
+ Content-Type:
201
+ - application/json; charset=utf-8
202
+ Content-Length:
203
+ - '36'
204
+ Accept-Encoding:
205
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
206
+ User-Agent:
207
+ - Ruby
208
+ response:
209
+ status:
210
+ code: 200
211
+ message: OK
212
+ headers:
213
+ Content-Type:
214
+ - application/json; charset=UTF-8
215
+ Connection:
216
+ - close
217
+ Content-Length:
218
+ - '101'
219
+ Server:
220
+ - httpd.js
221
+ Date:
222
+ - Fri, 29 Mar 2013 16:33:15 GMT
223
+ body:
224
+ encoding: UTF-8
225
+ string: '{"name":"sendKeysToElement","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":""}'
226
+ http_version:
227
+ recorded_at: Fri, 29 Mar 2013 16:33:15 GMT
228
+ - request:
229
+ method: post
230
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/execute
231
+ body:
232
+ encoding: UTF-8
233
+ string: '{"script":"$(''#kinney_clip_filename'').trigger(''focus'')","args":[]}'
234
+ headers:
235
+ Accept:
236
+ - application/json
237
+ Content-Type:
238
+ - application/json; charset=utf-8
239
+ Content-Length:
240
+ - '66'
241
+ Accept-Encoding:
242
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
243
+ User-Agent:
244
+ - Ruby
245
+ response:
246
+ status:
247
+ code: 200
248
+ message: OK
249
+ headers:
250
+ Content-Type:
251
+ - application/json; charset=UTF-8
252
+ Connection:
253
+ - close
254
+ Content-Length:
255
+ - '99'
256
+ Server:
257
+ - httpd.js
258
+ Date:
259
+ - Fri, 29 Mar 2013 16:33:16 GMT
260
+ body:
261
+ encoding: UTF-8
262
+ string: '{"name":"executeScript","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":null}'
263
+ http_version:
264
+ recorded_at: Fri, 29 Mar 2013 16:33:16 GMT
265
+ - request:
266
+ method: post
267
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
268
+ body:
269
+ encoding: UTF-8
270
+ string: '{"using":"xpath","value":"/html"}'
271
+ headers:
272
+ Accept:
273
+ - application/json
274
+ Content-Type:
275
+ - application/json; charset=utf-8
276
+ Content-Length:
277
+ - '33'
278
+ Accept-Encoding:
279
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
280
+ User-Agent:
281
+ - Ruby
282
+ response:
283
+ status:
284
+ code: 200
285
+ message: OK
286
+ headers:
287
+ Content-Type:
288
+ - application/json; charset=UTF-8
289
+ Connection:
290
+ - close
291
+ Content-Length:
292
+ - '148'
293
+ Server:
294
+ - httpd.js
295
+ Date:
296
+ - Fri, 29 Mar 2013 16:33:16 GMT
297
+ body:
298
+ encoding: UTF-8
299
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{04e310a3-51cd-424e-8b68-d2f4a8005c66}"}]}'
300
+ http_version:
301
+ recorded_at: Fri, 29 Mar 2013 16:33:16 GMT
302
+ - request:
303
+ method: get
304
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B04e310a3-51cd-424e-8b68-d2f4a8005c66%7D/text
305
+ body:
306
+ encoding: US-ASCII
307
+ string: ''
308
+ headers:
309
+ Accept:
310
+ - application/json
311
+ Cache-Control:
312
+ - no-cache
313
+ Accept-Encoding:
314
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
315
+ User-Agent:
316
+ - Ruby
317
+ response:
318
+ status:
319
+ code: 200
320
+ message: OK
321
+ headers:
322
+ Content-Type:
323
+ - application/json; charset=UTF-8
324
+ Connection:
325
+ - close
326
+ Content-Length:
327
+ - '974'
328
+ Server:
329
+ - httpd.js
330
+ Date:
331
+ - Fri, 29 Mar 2013 16:33:19 GMT
332
+ body:
333
+ encoding: UTF-8
334
+ string: '{"name":"getElementText","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"Kinney\nDashboard
335
+ Kinney Admin Users Kinney Clips Kinney Images Kinney People Kinney Topics\nadmin@example.com
336
+ Logout\nADMIN / KINNEY CLIPS /\nNew Kinney Clip\nVTT\nWEBVTT Found. Fill out
337
+ the other required fields and you can save.\n00:00\n01:56\nFilename*\nDuration
338
+ in seconds*\nTitle*\nInterview date*\n2008\n2009\n2010\n2011\n2012\n2013\n2014\n2015\n2016\n2017\n2018\nJanuary\nFebruary\nMarch\nApril\nMay\nJune\nJuly\nAugust\nSeptember\nOctober\nNovember\nDecember\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\nDescription*\nTop
339
+ pick\nFeatured\nTopics\nAcademics\nMentors\nRoots\nPeople\nAtkins, John\nFriday,
340
+ William\nMan, Third\nRaiford, Brooks\nTolson, Edward\nWilliams, William\nXavier,
341
+ Andrew\nQuotes\n Source\n Styles\nFormat\n Powered
342
+ by Active Admin 0.5.1"}'
343
+ http_version:
344
+ recorded_at: Fri, 29 Mar 2013 16:33:19 GMT
345
+ - request:
346
+ method: post
347
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
348
+ body:
349
+ encoding: UTF-8
350
+ string: '{"using":"xpath","value":".//*[self::input | self::textarea][not(./@type
351
+ = ''submit'' or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox''
352
+ or ./@type = ''hidden'' or ./@type = ''file'')][(((./@id = ''Filename'' or
353
+ ./@name = ''Filename'') or ./@placeholder = ''Filename'') or ./@id = //label[contains(normalize-space(string(.)),
354
+ ''Filename'')]/@for)][not(./@disabled)] | .//label[contains(normalize-space(string(.)),
355
+ ''Filename'')]//.//*[self::input | self::textarea][not(./@type = ''submit''
356
+ or ./@type = ''image'' or ./@type = ''radio'' or ./@type = ''checkbox'' or
357
+ ./@type = ''hidden'' or ./@type = ''file'')][not(./@disabled)]"}'
358
+ headers:
359
+ Accept:
360
+ - application/json
361
+ Content-Type:
362
+ - application/json; charset=utf-8
363
+ Content-Length:
364
+ - '616'
365
+ Accept-Encoding:
366
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
367
+ User-Agent:
368
+ - Ruby
369
+ response:
370
+ status:
371
+ code: 200
372
+ message: OK
373
+ headers:
374
+ Content-Type:
375
+ - application/json; charset=UTF-8
376
+ Connection:
377
+ - close
378
+ Content-Length:
379
+ - '148'
380
+ Server:
381
+ - httpd.js
382
+ Date:
383
+ - Fri, 29 Mar 2013 16:33:19 GMT
384
+ body:
385
+ encoding: UTF-8
386
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{b73a979e-3ca3-4146-a647-b8c2e8a070e3}"}]}'
387
+ http_version:
388
+ recorded_at: Fri, 29 Mar 2013 16:33:19 GMT
389
+ - request:
390
+ method: get
391
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Bb73a979e-3ca3-4146-a647-b8c2e8a070e3%7D/name
392
+ body:
393
+ encoding: US-ASCII
394
+ string: ''
395
+ headers:
396
+ Accept:
397
+ - application/json
398
+ Cache-Control:
399
+ - no-cache
400
+ Accept-Encoding:
401
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
402
+ User-Agent:
403
+ - Ruby
404
+ response:
405
+ status:
406
+ code: 200
407
+ message: OK
408
+ headers:
409
+ Content-Type:
410
+ - application/json; charset=UTF-8
411
+ Connection:
412
+ - close
413
+ Content-Length:
414
+ - '106'
415
+ Server:
416
+ - httpd.js
417
+ Date:
418
+ - Fri, 29 Mar 2013 16:33:19 GMT
419
+ body:
420
+ encoding: UTF-8
421
+ string: '{"name":"getElementTagName","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"input"}'
422
+ http_version:
423
+ recorded_at: Fri, 29 Mar 2013 16:33:19 GMT
424
+ - request:
425
+ method: get
426
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Bb73a979e-3ca3-4146-a647-b8c2e8a070e3%7D/attribute/type
427
+ body:
428
+ encoding: US-ASCII
429
+ string: ''
430
+ headers:
431
+ Accept:
432
+ - application/json
433
+ Cache-Control:
434
+ - no-cache
435
+ Accept-Encoding:
436
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
437
+ User-Agent:
438
+ - Ruby
439
+ response:
440
+ status:
441
+ code: 200
442
+ message: OK
443
+ headers:
444
+ Content-Type:
445
+ - application/json; charset=UTF-8
446
+ Connection:
447
+ - close
448
+ Content-Length:
449
+ - '107'
450
+ Server:
451
+ - httpd.js
452
+ Date:
453
+ - Fri, 29 Mar 2013 16:33:19 GMT
454
+ body:
455
+ encoding: UTF-8
456
+ string: '{"name":"getElementAttribute","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"text"}'
457
+ http_version:
458
+ recorded_at: Fri, 29 Mar 2013 16:33:19 GMT
459
+ - request:
460
+ method: post
461
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/execute
462
+ body:
463
+ encoding: UTF-8
464
+ string: '{"script":"arguments[0].value = ''''","args":[{"ELEMENT":"{b73a979e-3ca3-4146-a647-b8c2e8a070e3}"}]}'
465
+ headers:
466
+ Accept:
467
+ - application/json
468
+ Content-Type:
469
+ - application/json; charset=utf-8
470
+ Content-Length:
471
+ - '98'
472
+ Accept-Encoding:
473
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
474
+ User-Agent:
475
+ - Ruby
476
+ response:
477
+ status:
478
+ code: 200
479
+ message: OK
480
+ headers:
481
+ Content-Type:
482
+ - application/json; charset=UTF-8
483
+ Connection:
484
+ - close
485
+ Content-Length:
486
+ - '99'
487
+ Server:
488
+ - httpd.js
489
+ Date:
490
+ - Fri, 29 Mar 2013 16:33:19 GMT
491
+ body:
492
+ encoding: UTF-8
493
+ string: '{"name":"executeScript","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":null}'
494
+ http_version:
495
+ recorded_at: Fri, 29 Mar 2013 16:33:19 GMT
496
+ - request:
497
+ method: post
498
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7Bb73a979e-3ca3-4146-a647-b8c2e8a070e3%7D/value
499
+ body:
500
+ encoding: UTF-8
501
+ string: '{"value":["some-garbage"]}'
502
+ headers:
503
+ Accept:
504
+ - application/json
505
+ Content-Type:
506
+ - application/json; charset=utf-8
507
+ Content-Length:
508
+ - '26'
509
+ Accept-Encoding:
510
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
511
+ User-Agent:
512
+ - Ruby
513
+ response:
514
+ status:
515
+ code: 200
516
+ message: OK
517
+ headers:
518
+ Content-Type:
519
+ - application/json; charset=UTF-8
520
+ Connection:
521
+ - close
522
+ Content-Length:
523
+ - '101'
524
+ Server:
525
+ - httpd.js
526
+ Date:
527
+ - Fri, 29 Mar 2013 16:33:19 GMT
528
+ body:
529
+ encoding: UTF-8
530
+ string: '{"name":"sendKeysToElement","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":""}'
531
+ http_version:
532
+ recorded_at: Fri, 29 Mar 2013 16:33:19 GMT
533
+ - request:
534
+ method: post
535
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/elements
536
+ body:
537
+ encoding: UTF-8
538
+ string: '{"using":"xpath","value":"/html"}'
539
+ headers:
540
+ Accept:
541
+ - application/json
542
+ Content-Type:
543
+ - application/json; charset=utf-8
544
+ Content-Length:
545
+ - '33'
546
+ Accept-Encoding:
547
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
548
+ User-Agent:
549
+ - Ruby
550
+ response:
551
+ status:
552
+ code: 200
553
+ message: OK
554
+ headers:
555
+ Content-Type:
556
+ - application/json; charset=UTF-8
557
+ Connection:
558
+ - close
559
+ Content-Length:
560
+ - '148'
561
+ Server:
562
+ - httpd.js
563
+ Date:
564
+ - Fri, 29 Mar 2013 16:33:19 GMT
565
+ body:
566
+ encoding: UTF-8
567
+ string: '{"name":"findElements","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":[{"ELEMENT":"{04e310a3-51cd-424e-8b68-d2f4a8005c66}"}]}'
568
+ http_version:
569
+ recorded_at: Fri, 29 Mar 2013 16:33:19 GMT
570
+ - request:
571
+ method: get
572
+ uri: http://127.0.0.1:7055/hub/session/5d9963fe-c796-46dd-82b9-86625109bd63/element/%7B04e310a3-51cd-424e-8b68-d2f4a8005c66%7D/text
573
+ body:
574
+ encoding: US-ASCII
575
+ string: ''
576
+ headers:
577
+ Accept:
578
+ - application/json
579
+ Cache-Control:
580
+ - no-cache
581
+ Accept-Encoding:
582
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
583
+ User-Agent:
584
+ - Ruby
585
+ response:
586
+ status:
587
+ code: 200
588
+ message: OK
589
+ headers:
590
+ Content-Type:
591
+ - application/json; charset=UTF-8
592
+ Connection:
593
+ - close
594
+ Content-Length:
595
+ - '1001'
596
+ Server:
597
+ - httpd.js
598
+ Date:
599
+ - Fri, 29 Mar 2013 16:33:22 GMT
600
+ body:
601
+ encoding: UTF-8
602
+ string: '{"name":"getElementText","sessionId":"5d9963fe-c796-46dd-82b9-86625109bd63","status":0,"value":"Kinney\nDashboard
603
+ Kinney Admin Users Kinney Clips Kinney Images Kinney People Kinney Topics\nadmin@example.com
604
+ Logout\nADMIN / KINNEY CLIPS /\nNew Kinney Clip\nVTT\nWEBVTT Not Found. You
605
+ will not be able to save this clip without a WEBVTT file on the server.\n00:00\n01:56\nFilename*\nDuration
606
+ in seconds*\nTitle*\nInterview date*\n2008\n2009\n2010\n2011\n2012\n2013\n2014\n2015\n2016\n2017\n2018\nJanuary\nFebruary\nMarch\nApril\nMay\nJune\nJuly\nAugust\nSeptember\nOctober\nNovember\nDecember\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\nDescription*\nTop
607
+ pick\nFeatured\nTopics\nAcademics\nMentors\nRoots\nPeople\nAtkins, John\nFriday,
608
+ William\nMan, Third\nRaiford, Brooks\nTolson, Edward\nWilliams, William\nXavier,
609
+ Andrew\nQuotes\n Source\n Styles\nFormat\n Powered
610
+ by Active Admin 0.5.1"}'
611
+ http_version:
612
+ recorded_at: Fri, 29 Mar 2013 16:33:22 GMT
613
+ recorded_with: VCR 2.4.0