marty 0.5.34 → 0.5.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (994) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +3 -3
  4. data/Gemfile +2 -1
  5. data/app/components/marty/user_view.rb +2 -0
  6. data/app/models/marty/user.rb +1 -1
  7. data/config/locales/en.yml +3 -0
  8. data/db/seeds.rb +4 -5
  9. data/lib/marty/version.rb +1 -1
  10. data/spec/dummy/config/application.rb +1 -0
  11. data/spec/dummy/db/seeds.rb +2 -0
  12. data/spec/dummy/delorean/data_report.dl +6 -1
  13. data/spec/dummy/public/icons/accept.png +0 -0
  14. data/spec/dummy/public/icons/add.png +0 -0
  15. data/spec/dummy/public/icons/anchor.png +0 -0
  16. data/spec/dummy/public/icons/application.png +0 -0
  17. data/spec/dummy/public/icons/application_add.png +0 -0
  18. data/spec/dummy/public/icons/application_double.png +0 -0
  19. data/spec/dummy/public/icons/application_edit.png +0 -0
  20. data/spec/dummy/public/icons/application_error.png +0 -0
  21. data/spec/dummy/public/icons/application_form.png +0 -0
  22. data/spec/dummy/public/icons/application_form_add.png +0 -0
  23. data/spec/dummy/public/icons/application_form_delete.png +0 -0
  24. data/spec/dummy/public/icons/application_form_edit.png +0 -0
  25. data/spec/dummy/public/icons/application_form_magnify.png +0 -0
  26. data/spec/dummy/public/icons/application_get.png +0 -0
  27. data/spec/dummy/public/icons/application_go.png +0 -0
  28. data/spec/dummy/public/icons/application_home.png +0 -0
  29. data/spec/dummy/public/icons/application_key.png +0 -0
  30. data/spec/dummy/public/icons/application_lightning.png +0 -0
  31. data/spec/dummy/public/icons/application_link.png +0 -0
  32. data/spec/dummy/public/icons/application_osx.png +0 -0
  33. data/spec/dummy/public/icons/application_osx_terminal.png +0 -0
  34. data/spec/dummy/public/icons/application_side_boxes.png +0 -0
  35. data/spec/dummy/public/icons/application_side_contract.png +0 -0
  36. data/spec/dummy/public/icons/application_side_expand.png +0 -0
  37. data/spec/dummy/public/icons/application_side_list.png +0 -0
  38. data/spec/dummy/public/icons/application_side_tree.png +0 -0
  39. data/spec/dummy/public/icons/application_split.png +0 -0
  40. data/spec/dummy/public/icons/application_tile_horizontal.png +0 -0
  41. data/spec/dummy/public/icons/application_tile_vertical.png +0 -0
  42. data/spec/dummy/public/icons/application_view_columns.png +0 -0
  43. data/spec/dummy/public/icons/application_view_gallery.png +0 -0
  44. data/spec/dummy/public/icons/application_view_icons.png +0 -0
  45. data/spec/dummy/public/icons/application_view_list.png +0 -0
  46. data/spec/dummy/public/icons/application_view_tile.png +0 -0
  47. data/spec/dummy/public/icons/application_xp.png +0 -0
  48. data/spec/dummy/public/icons/application_xp_terminal.png +0 -0
  49. data/spec/dummy/public/icons/arrow_branch.png +0 -0
  50. data/spec/dummy/public/icons/arrow_divide.png +0 -0
  51. data/spec/dummy/public/icons/arrow_down.png +0 -0
  52. data/spec/dummy/public/icons/arrow_inout.png +0 -0
  53. data/spec/dummy/public/icons/arrow_join.png +0 -0
  54. data/spec/dummy/public/icons/arrow_left.png +0 -0
  55. data/spec/dummy/public/icons/arrow_merge.png +0 -0
  56. data/spec/dummy/public/icons/arrow_out.png +0 -0
  57. data/spec/dummy/public/icons/arrow_redo.png +0 -0
  58. data/spec/dummy/public/icons/arrow_refresh_small.png +0 -0
  59. data/spec/dummy/public/icons/arrow_right.png +0 -0
  60. data/spec/dummy/public/icons/arrow_rotate_anticlockwise.png +0 -0
  61. data/spec/dummy/public/icons/arrow_rotate_clockwise.png +0 -0
  62. data/spec/dummy/public/icons/arrow_switch.png +0 -0
  63. data/spec/dummy/public/icons/arrow_turn_left.png +0 -0
  64. data/spec/dummy/public/icons/arrow_turn_right.png +0 -0
  65. data/spec/dummy/public/icons/arrow_undo.png +0 -0
  66. data/spec/dummy/public/icons/arrow_up.png +0 -0
  67. data/spec/dummy/public/icons/asterisk_orange.png +0 -0
  68. data/spec/dummy/public/icons/asterisk_yellow.png +0 -0
  69. data/spec/dummy/public/icons/attach.png +0 -0
  70. data/spec/dummy/public/icons/award_star_add.png +0 -0
  71. data/spec/dummy/public/icons/award_star_bronze_1.png +0 -0
  72. data/spec/dummy/public/icons/award_star_bronze_2.png +0 -0
  73. data/spec/dummy/public/icons/award_star_bronze_3.png +0 -0
  74. data/spec/dummy/public/icons/award_star_delete.png +0 -0
  75. data/spec/dummy/public/icons/award_star_gold_1.png +0 -0
  76. data/spec/dummy/public/icons/award_star_gold_2.png +0 -0
  77. data/spec/dummy/public/icons/award_star_gold_3.png +0 -0
  78. data/spec/dummy/public/icons/award_star_silver_1.png +0 -0
  79. data/spec/dummy/public/icons/award_star_silver_2.png +0 -0
  80. data/spec/dummy/public/icons/award_star_silver_3.png +0 -0
  81. data/spec/dummy/public/icons/basket.png +0 -0
  82. data/spec/dummy/public/icons/basket_add.png +0 -0
  83. data/spec/dummy/public/icons/basket_delete.png +0 -0
  84. data/spec/dummy/public/icons/basket_edit.png +0 -0
  85. data/spec/dummy/public/icons/basket_error.png +0 -0
  86. data/spec/dummy/public/icons/basket_go.png +0 -0
  87. data/spec/dummy/public/icons/basket_put.png +0 -0
  88. data/spec/dummy/public/icons/basket_remove.png +0 -0
  89. data/spec/dummy/public/icons/bell.png +0 -0
  90. data/spec/dummy/public/icons/bell_add.png +0 -0
  91. data/spec/dummy/public/icons/bell_delete.png +0 -0
  92. data/spec/dummy/public/icons/bell_error.png +0 -0
  93. data/spec/dummy/public/icons/bell_go.png +0 -0
  94. data/spec/dummy/public/icons/bell_link.png +0 -0
  95. data/spec/dummy/public/icons/bin.png +0 -0
  96. data/spec/dummy/public/icons/bin_closed.png +0 -0
  97. data/spec/dummy/public/icons/bin_empty.png +0 -0
  98. data/spec/dummy/public/icons/bomb.png +0 -0
  99. data/spec/dummy/public/icons/book.png +0 -0
  100. data/spec/dummy/public/icons/book_add.png +0 -0
  101. data/spec/dummy/public/icons/book_addresses.png +0 -0
  102. data/spec/dummy/public/icons/book_delete.png +0 -0
  103. data/spec/dummy/public/icons/book_edit.png +0 -0
  104. data/spec/dummy/public/icons/book_error.png +0 -0
  105. data/spec/dummy/public/icons/book_go.png +0 -0
  106. data/spec/dummy/public/icons/book_key.png +0 -0
  107. data/spec/dummy/public/icons/book_link.png +0 -0
  108. data/spec/dummy/public/icons/book_next.png +0 -0
  109. data/spec/dummy/public/icons/book_open.png +0 -0
  110. data/spec/dummy/public/icons/book_previous.png +0 -0
  111. data/spec/dummy/public/icons/box.png +0 -0
  112. data/spec/dummy/public/icons/brick.png +0 -0
  113. data/spec/dummy/public/icons/brick_add.png +0 -0
  114. data/spec/dummy/public/icons/brick_delete.png +0 -0
  115. data/spec/dummy/public/icons/brick_edit.png +0 -0
  116. data/spec/dummy/public/icons/brick_error.png +0 -0
  117. data/spec/dummy/public/icons/brick_go.png +0 -0
  118. data/spec/dummy/public/icons/brick_link.png +0 -0
  119. data/spec/dummy/public/icons/bricks.png +0 -0
  120. data/spec/dummy/public/icons/briefcase.png +0 -0
  121. data/spec/dummy/public/icons/bug.png +0 -0
  122. data/spec/dummy/public/icons/bug_add.png +0 -0
  123. data/spec/dummy/public/icons/bug_delete.png +0 -0
  124. data/spec/dummy/public/icons/bug_edit.png +0 -0
  125. data/spec/dummy/public/icons/bug_error.png +0 -0
  126. data/spec/dummy/public/icons/bug_go.png +0 -0
  127. data/spec/dummy/public/icons/bug_link.png +0 -0
  128. data/spec/dummy/public/icons/building.png +0 -0
  129. data/spec/dummy/public/icons/building_add.png +0 -0
  130. data/spec/dummy/public/icons/building_delete.png +0 -0
  131. data/spec/dummy/public/icons/building_edit.png +0 -0
  132. data/spec/dummy/public/icons/building_error.png +0 -0
  133. data/spec/dummy/public/icons/building_go.png +0 -0
  134. data/spec/dummy/public/icons/building_key.png +0 -0
  135. data/spec/dummy/public/icons/building_link.png +0 -0
  136. data/spec/dummy/public/icons/bullet_add.png +0 -0
  137. data/spec/dummy/public/icons/bullet_arrow_bottom.png +0 -0
  138. data/spec/dummy/public/icons/bullet_arrow_down.png +0 -0
  139. data/spec/dummy/public/icons/bullet_arrow_top.png +0 -0
  140. data/spec/dummy/public/icons/bullet_arrow_up.png +0 -0
  141. data/spec/dummy/public/icons/bullet_black.png +0 -0
  142. data/spec/dummy/public/icons/bullet_blue.png +0 -0
  143. data/spec/dummy/public/icons/bullet_delete.png +0 -0
  144. data/spec/dummy/public/icons/bullet_disk.png +0 -0
  145. data/spec/dummy/public/icons/bullet_error.png +0 -0
  146. data/spec/dummy/public/icons/bullet_feed.png +0 -0
  147. data/spec/dummy/public/icons/bullet_go.png +0 -0
  148. data/spec/dummy/public/icons/bullet_green.png +0 -0
  149. data/spec/dummy/public/icons/bullet_key.png +0 -0
  150. data/spec/dummy/public/icons/bullet_orange.png +0 -0
  151. data/spec/dummy/public/icons/bullet_picture.png +0 -0
  152. data/spec/dummy/public/icons/bullet_pink.png +0 -0
  153. data/spec/dummy/public/icons/bullet_purple.png +0 -0
  154. data/spec/dummy/public/icons/bullet_red.png +0 -0
  155. data/spec/dummy/public/icons/bullet_star.png +0 -0
  156. data/spec/dummy/public/icons/bullet_toggle_minus.png +0 -0
  157. data/spec/dummy/public/icons/bullet_toggle_plus.png +0 -0
  158. data/spec/dummy/public/icons/bullet_white.png +0 -0
  159. data/spec/dummy/public/icons/bullet_wrench.png +0 -0
  160. data/spec/dummy/public/icons/bullet_yellow.png +0 -0
  161. data/spec/dummy/public/icons/cake.png +0 -0
  162. data/spec/dummy/public/icons/calculator.png +0 -0
  163. data/spec/dummy/public/icons/calculator_add.png +0 -0
  164. data/spec/dummy/public/icons/calculator_delete.png +0 -0
  165. data/spec/dummy/public/icons/calculator_edit.png +0 -0
  166. data/spec/dummy/public/icons/calculator_error.png +0 -0
  167. data/spec/dummy/public/icons/calculator_link.png +0 -0
  168. data/spec/dummy/public/icons/calendar.png +0 -0
  169. data/spec/dummy/public/icons/calendar_add.png +0 -0
  170. data/spec/dummy/public/icons/calendar_delete.png +0 -0
  171. data/spec/dummy/public/icons/calendar_edit.png +0 -0
  172. data/spec/dummy/public/icons/calendar_link.png +0 -0
  173. data/spec/dummy/public/icons/calendar_view_day.png +0 -0
  174. data/spec/dummy/public/icons/calendar_view_month.png +0 -0
  175. data/spec/dummy/public/icons/calendar_view_week.png +0 -0
  176. data/spec/dummy/public/icons/camera.png +0 -0
  177. data/spec/dummy/public/icons/camera_add.png +0 -0
  178. data/spec/dummy/public/icons/camera_delete.png +0 -0
  179. data/spec/dummy/public/icons/camera_edit.png +0 -0
  180. data/spec/dummy/public/icons/camera_error.png +0 -0
  181. data/spec/dummy/public/icons/camera_go.png +0 -0
  182. data/spec/dummy/public/icons/camera_link.png +0 -0
  183. data/spec/dummy/public/icons/camera_small.png +0 -0
  184. data/spec/dummy/public/icons/cancel.png +0 -0
  185. data/spec/dummy/public/icons/car.png +0 -0
  186. data/spec/dummy/public/icons/car_add.png +0 -0
  187. data/spec/dummy/public/icons/car_delete.png +0 -0
  188. data/spec/dummy/public/icons/cart.png +0 -0
  189. data/spec/dummy/public/icons/cart_add.png +0 -0
  190. data/spec/dummy/public/icons/cart_delete.png +0 -0
  191. data/spec/dummy/public/icons/cart_edit.png +0 -0
  192. data/spec/dummy/public/icons/cart_error.png +0 -0
  193. data/spec/dummy/public/icons/cart_go.png +0 -0
  194. data/spec/dummy/public/icons/cart_put.png +0 -0
  195. data/spec/dummy/public/icons/cart_remove.png +0 -0
  196. data/spec/dummy/public/icons/cd.png +0 -0
  197. data/spec/dummy/public/icons/cd_add.png +0 -0
  198. data/spec/dummy/public/icons/cd_burn.png +0 -0
  199. data/spec/dummy/public/icons/cd_delete.png +0 -0
  200. data/spec/dummy/public/icons/cd_edit.png +0 -0
  201. data/spec/dummy/public/icons/cd_eject.png +0 -0
  202. data/spec/dummy/public/icons/cd_go.png +0 -0
  203. data/spec/dummy/public/icons/chart_bar.png +0 -0
  204. data/spec/dummy/public/icons/chart_bar_add.png +0 -0
  205. data/spec/dummy/public/icons/chart_bar_delete.png +0 -0
  206. data/spec/dummy/public/icons/chart_bar_edit.png +0 -0
  207. data/spec/dummy/public/icons/chart_bar_error.png +0 -0
  208. data/spec/dummy/public/icons/chart_bar_link.png +0 -0
  209. data/spec/dummy/public/icons/chart_curve.png +0 -0
  210. data/spec/dummy/public/icons/chart_curve_add.png +0 -0
  211. data/spec/dummy/public/icons/chart_curve_delete.png +0 -0
  212. data/spec/dummy/public/icons/chart_curve_edit.png +0 -0
  213. data/spec/dummy/public/icons/chart_curve_error.png +0 -0
  214. data/spec/dummy/public/icons/chart_curve_go.png +0 -0
  215. data/spec/dummy/public/icons/chart_curve_link.png +0 -0
  216. data/spec/dummy/public/icons/chart_line.png +0 -0
  217. data/spec/dummy/public/icons/chart_line_add.png +0 -0
  218. data/spec/dummy/public/icons/chart_line_delete.png +0 -0
  219. data/spec/dummy/public/icons/chart_line_edit.png +0 -0
  220. data/spec/dummy/public/icons/chart_line_error.png +0 -0
  221. data/spec/dummy/public/icons/chart_line_link.png +0 -0
  222. data/spec/dummy/public/icons/chart_organisation.png +0 -0
  223. data/spec/dummy/public/icons/chart_organisation_add.png +0 -0
  224. data/spec/dummy/public/icons/chart_organisation_delete.png +0 -0
  225. data/spec/dummy/public/icons/chart_pie.png +0 -0
  226. data/spec/dummy/public/icons/chart_pie_add.png +0 -0
  227. data/spec/dummy/public/icons/chart_pie_delete.png +0 -0
  228. data/spec/dummy/public/icons/chart_pie_edit.png +0 -0
  229. data/spec/dummy/public/icons/chart_pie_error.png +0 -0
  230. data/spec/dummy/public/icons/chart_pie_link.png +0 -0
  231. data/spec/dummy/public/icons/clock.png +0 -0
  232. data/spec/dummy/public/icons/clock_add.png +0 -0
  233. data/spec/dummy/public/icons/clock_delete.png +0 -0
  234. data/spec/dummy/public/icons/clock_edit.png +0 -0
  235. data/spec/dummy/public/icons/clock_error.png +0 -0
  236. data/spec/dummy/public/icons/clock_go.png +0 -0
  237. data/spec/dummy/public/icons/clock_link.png +0 -0
  238. data/spec/dummy/public/icons/clock_pause.png +0 -0
  239. data/spec/dummy/public/icons/clock_play.png +0 -0
  240. data/spec/dummy/public/icons/clock_red.png +0 -0
  241. data/spec/dummy/public/icons/clock_stop.png +0 -0
  242. data/spec/dummy/public/icons/cog.png +0 -0
  243. data/spec/dummy/public/icons/cog_add.png +0 -0
  244. data/spec/dummy/public/icons/cog_delete.png +0 -0
  245. data/spec/dummy/public/icons/cog_edit.png +0 -0
  246. data/spec/dummy/public/icons/cog_error.png +0 -0
  247. data/spec/dummy/public/icons/cog_go.png +0 -0
  248. data/spec/dummy/public/icons/coins.png +0 -0
  249. data/spec/dummy/public/icons/coins_add.png +0 -0
  250. data/spec/dummy/public/icons/coins_delete.png +0 -0
  251. data/spec/dummy/public/icons/color_swatch.png +0 -0
  252. data/spec/dummy/public/icons/color_wheel.png +0 -0
  253. data/spec/dummy/public/icons/comment.png +0 -0
  254. data/spec/dummy/public/icons/comment_add.png +0 -0
  255. data/spec/dummy/public/icons/comment_delete.png +0 -0
  256. data/spec/dummy/public/icons/comment_edit.png +0 -0
  257. data/spec/dummy/public/icons/comments.png +0 -0
  258. data/spec/dummy/public/icons/comments_add.png +0 -0
  259. data/spec/dummy/public/icons/comments_delete.png +0 -0
  260. data/spec/dummy/public/icons/compress.png +0 -0
  261. data/spec/dummy/public/icons/computer.png +0 -0
  262. data/spec/dummy/public/icons/computer_add.png +0 -0
  263. data/spec/dummy/public/icons/computer_delete.png +0 -0
  264. data/spec/dummy/public/icons/computer_edit.png +0 -0
  265. data/spec/dummy/public/icons/computer_error.png +0 -0
  266. data/spec/dummy/public/icons/computer_go.png +0 -0
  267. data/spec/dummy/public/icons/computer_key.png +0 -0
  268. data/spec/dummy/public/icons/computer_link.png +0 -0
  269. data/spec/dummy/public/icons/connect.png +0 -0
  270. data/spec/dummy/public/icons/contrast.png +0 -0
  271. data/spec/dummy/public/icons/contrast_decrease.png +0 -0
  272. data/spec/dummy/public/icons/contrast_high.png +0 -0
  273. data/spec/dummy/public/icons/contrast_increase.png +0 -0
  274. data/spec/dummy/public/icons/contrast_low.png +0 -0
  275. data/spec/dummy/public/icons/control_eject.png +0 -0
  276. data/spec/dummy/public/icons/control_eject_blue.png +0 -0
  277. data/spec/dummy/public/icons/control_end.png +0 -0
  278. data/spec/dummy/public/icons/control_end_blue.png +0 -0
  279. data/spec/dummy/public/icons/control_equalizer.png +0 -0
  280. data/spec/dummy/public/icons/control_equalizer_blue.png +0 -0
  281. data/spec/dummy/public/icons/control_fastforward.png +0 -0
  282. data/spec/dummy/public/icons/control_fastforward_blue.png +0 -0
  283. data/spec/dummy/public/icons/control_pause.png +0 -0
  284. data/spec/dummy/public/icons/control_pause_blue.png +0 -0
  285. data/spec/dummy/public/icons/control_play.png +0 -0
  286. data/spec/dummy/public/icons/control_play_blue.png +0 -0
  287. data/spec/dummy/public/icons/control_repeat.png +0 -0
  288. data/spec/dummy/public/icons/control_repeat_blue.png +0 -0
  289. data/spec/dummy/public/icons/control_rewind.png +0 -0
  290. data/spec/dummy/public/icons/control_rewind_blue.png +0 -0
  291. data/spec/dummy/public/icons/control_start.png +0 -0
  292. data/spec/dummy/public/icons/control_start_blue.png +0 -0
  293. data/spec/dummy/public/icons/control_stop.png +0 -0
  294. data/spec/dummy/public/icons/control_stop_blue.png +0 -0
  295. data/spec/dummy/public/icons/controller.png +0 -0
  296. data/spec/dummy/public/icons/controller_add.png +0 -0
  297. data/spec/dummy/public/icons/controller_delete.png +0 -0
  298. data/spec/dummy/public/icons/controller_error.png +0 -0
  299. data/spec/dummy/public/icons/creditcards.png +0 -0
  300. data/spec/dummy/public/icons/cross.png +0 -0
  301. data/spec/dummy/public/icons/css.png +0 -0
  302. data/spec/dummy/public/icons/css_add.png +0 -0
  303. data/spec/dummy/public/icons/css_delete.png +0 -0
  304. data/spec/dummy/public/icons/css_go.png +0 -0
  305. data/spec/dummy/public/icons/css_valid.png +0 -0
  306. data/spec/dummy/public/icons/cup.png +0 -0
  307. data/spec/dummy/public/icons/cup_add.png +0 -0
  308. data/spec/dummy/public/icons/cup_delete.png +0 -0
  309. data/spec/dummy/public/icons/cup_edit.png +0 -0
  310. data/spec/dummy/public/icons/cup_error.png +0 -0
  311. data/spec/dummy/public/icons/cup_go.png +0 -0
  312. data/spec/dummy/public/icons/cup_key.png +0 -0
  313. data/spec/dummy/public/icons/cup_link.png +0 -0
  314. data/spec/dummy/public/icons/cursor.png +0 -0
  315. data/spec/dummy/public/icons/cut.png +0 -0
  316. data/spec/dummy/public/icons/cut_red.png +0 -0
  317. data/spec/dummy/public/icons/database.png +0 -0
  318. data/spec/dummy/public/icons/database_add.png +0 -0
  319. data/spec/dummy/public/icons/database_connect.png +0 -0
  320. data/spec/dummy/public/icons/database_delete.png +0 -0
  321. data/spec/dummy/public/icons/database_edit.png +0 -0
  322. data/spec/dummy/public/icons/database_error.png +0 -0
  323. data/spec/dummy/public/icons/database_gear.png +0 -0
  324. data/spec/dummy/public/icons/database_go.png +0 -0
  325. data/spec/dummy/public/icons/database_key.png +0 -0
  326. data/spec/dummy/public/icons/database_lightning.png +0 -0
  327. data/spec/dummy/public/icons/database_link.png +0 -0
  328. data/spec/dummy/public/icons/database_refresh.png +0 -0
  329. data/spec/dummy/public/icons/database_table.png +0 -0
  330. data/spec/dummy/public/icons/date.png +0 -0
  331. data/spec/dummy/public/icons/date_add.png +0 -0
  332. data/spec/dummy/public/icons/date_delete.png +0 -0
  333. data/spec/dummy/public/icons/date_edit.png +0 -0
  334. data/spec/dummy/public/icons/date_error.png +0 -0
  335. data/spec/dummy/public/icons/date_go.png +0 -0
  336. data/spec/dummy/public/icons/date_link.png +0 -0
  337. data/spec/dummy/public/icons/date_magnify.png +0 -0
  338. data/spec/dummy/public/icons/date_next.png +0 -0
  339. data/spec/dummy/public/icons/date_previous.png +0 -0
  340. data/spec/dummy/public/icons/delete.png +0 -0
  341. data/spec/dummy/public/icons/disconnect.png +0 -0
  342. data/spec/dummy/public/icons/disk.png +0 -0
  343. data/spec/dummy/public/icons/disk_multiple.png +0 -0
  344. data/spec/dummy/public/icons/door.png +0 -0
  345. data/spec/dummy/public/icons/door_open.png +0 -0
  346. data/spec/dummy/public/icons/drink.png +0 -0
  347. data/spec/dummy/public/icons/drink_empty.png +0 -0
  348. data/spec/dummy/public/icons/drive.png +0 -0
  349. data/spec/dummy/public/icons/drive_add.png +0 -0
  350. data/spec/dummy/public/icons/drive_burn.png +0 -0
  351. data/spec/dummy/public/icons/drive_cd.png +0 -0
  352. data/spec/dummy/public/icons/drive_cd_empty.png +0 -0
  353. data/spec/dummy/public/icons/drive_delete.png +0 -0
  354. data/spec/dummy/public/icons/drive_disk.png +0 -0
  355. data/spec/dummy/public/icons/drive_edit.png +0 -0
  356. data/spec/dummy/public/icons/drive_error.png +0 -0
  357. data/spec/dummy/public/icons/drive_go.png +0 -0
  358. data/spec/dummy/public/icons/drive_key.png +0 -0
  359. data/spec/dummy/public/icons/drive_link.png +0 -0
  360. data/spec/dummy/public/icons/drive_magnify.png +0 -0
  361. data/spec/dummy/public/icons/drive_network.png +0 -0
  362. data/spec/dummy/public/icons/drive_rename.png +0 -0
  363. data/spec/dummy/public/icons/drive_user.png +0 -0
  364. data/spec/dummy/public/icons/drive_web.png +0 -0
  365. data/spec/dummy/public/icons/dvd.png +0 -0
  366. data/spec/dummy/public/icons/dvd_add.png +0 -0
  367. data/spec/dummy/public/icons/dvd_delete.png +0 -0
  368. data/spec/dummy/public/icons/dvd_edit.png +0 -0
  369. data/spec/dummy/public/icons/dvd_error.png +0 -0
  370. data/spec/dummy/public/icons/dvd_go.png +0 -0
  371. data/spec/dummy/public/icons/dvd_key.png +0 -0
  372. data/spec/dummy/public/icons/dvd_link.png +0 -0
  373. data/spec/dummy/public/icons/email.png +0 -0
  374. data/spec/dummy/public/icons/email_add.png +0 -0
  375. data/spec/dummy/public/icons/email_attach.png +0 -0
  376. data/spec/dummy/public/icons/email_delete.png +0 -0
  377. data/spec/dummy/public/icons/email_edit.png +0 -0
  378. data/spec/dummy/public/icons/email_error.png +0 -0
  379. data/spec/dummy/public/icons/email_go.png +0 -0
  380. data/spec/dummy/public/icons/email_link.png +0 -0
  381. data/spec/dummy/public/icons/email_open.png +0 -0
  382. data/spec/dummy/public/icons/email_open_image.png +0 -0
  383. data/spec/dummy/public/icons/emoticon_evilgrin.png +0 -0
  384. data/spec/dummy/public/icons/emoticon_grin.png +0 -0
  385. data/spec/dummy/public/icons/emoticon_happy.png +0 -0
  386. data/spec/dummy/public/icons/emoticon_smile.png +0 -0
  387. data/spec/dummy/public/icons/emoticon_surprised.png +0 -0
  388. data/spec/dummy/public/icons/emoticon_tongue.png +0 -0
  389. data/spec/dummy/public/icons/emoticon_unhappy.png +0 -0
  390. data/spec/dummy/public/icons/emoticon_waii.png +0 -0
  391. data/spec/dummy/public/icons/emoticon_wink.png +0 -0
  392. data/spec/dummy/public/icons/error.png +0 -0
  393. data/spec/dummy/public/icons/error_add.png +0 -0
  394. data/spec/dummy/public/icons/error_delete.png +0 -0
  395. data/spec/dummy/public/icons/error_go.png +0 -0
  396. data/spec/dummy/public/icons/exclamation.png +0 -0
  397. data/spec/dummy/public/icons/eye.png +0 -0
  398. data/spec/dummy/public/icons/feed.png +0 -0
  399. data/spec/dummy/public/icons/feed_add.png +0 -0
  400. data/spec/dummy/public/icons/feed_delete.png +0 -0
  401. data/spec/dummy/public/icons/feed_disk.png +0 -0
  402. data/spec/dummy/public/icons/feed_edit.png +0 -0
  403. data/spec/dummy/public/icons/feed_error.png +0 -0
  404. data/spec/dummy/public/icons/feed_go.png +0 -0
  405. data/spec/dummy/public/icons/feed_key.png +0 -0
  406. data/spec/dummy/public/icons/feed_link.png +0 -0
  407. data/spec/dummy/public/icons/feed_magnify.png +0 -0
  408. data/spec/dummy/public/icons/female.png +0 -0
  409. data/spec/dummy/public/icons/film.png +0 -0
  410. data/spec/dummy/public/icons/film_add.png +0 -0
  411. data/spec/dummy/public/icons/film_delete.png +0 -0
  412. data/spec/dummy/public/icons/film_edit.png +0 -0
  413. data/spec/dummy/public/icons/film_error.png +0 -0
  414. data/spec/dummy/public/icons/film_go.png +0 -0
  415. data/spec/dummy/public/icons/film_key.png +0 -0
  416. data/spec/dummy/public/icons/film_link.png +0 -0
  417. data/spec/dummy/public/icons/film_save.png +0 -0
  418. data/spec/dummy/public/icons/find.png +0 -0
  419. data/spec/dummy/public/icons/flag_blue.png +0 -0
  420. data/spec/dummy/public/icons/flag_green.png +0 -0
  421. data/spec/dummy/public/icons/flag_orange.png +0 -0
  422. data/spec/dummy/public/icons/flag_pink.png +0 -0
  423. data/spec/dummy/public/icons/flag_purple.png +0 -0
  424. data/spec/dummy/public/icons/flag_red.png +0 -0
  425. data/spec/dummy/public/icons/flag_yellow.png +0 -0
  426. data/spec/dummy/public/icons/folder.png +0 -0
  427. data/spec/dummy/public/icons/folder_add.png +0 -0
  428. data/spec/dummy/public/icons/folder_bell.png +0 -0
  429. data/spec/dummy/public/icons/folder_brick.png +0 -0
  430. data/spec/dummy/public/icons/folder_bug.png +0 -0
  431. data/spec/dummy/public/icons/folder_camera.png +0 -0
  432. data/spec/dummy/public/icons/folder_database.png +0 -0
  433. data/spec/dummy/public/icons/folder_delete.png +0 -0
  434. data/spec/dummy/public/icons/folder_edit.png +0 -0
  435. data/spec/dummy/public/icons/folder_error.png +0 -0
  436. data/spec/dummy/public/icons/folder_explore.png +0 -0
  437. data/spec/dummy/public/icons/folder_feed.png +0 -0
  438. data/spec/dummy/public/icons/folder_find.png +0 -0
  439. data/spec/dummy/public/icons/folder_go.png +0 -0
  440. data/spec/dummy/public/icons/folder_heart.png +0 -0
  441. data/spec/dummy/public/icons/folder_image.png +0 -0
  442. data/spec/dummy/public/icons/folder_key.png +0 -0
  443. data/spec/dummy/public/icons/folder_lightbulb.png +0 -0
  444. data/spec/dummy/public/icons/folder_link.png +0 -0
  445. data/spec/dummy/public/icons/folder_magnify.png +0 -0
  446. data/spec/dummy/public/icons/folder_page.png +0 -0
  447. data/spec/dummy/public/icons/folder_page_white.png +0 -0
  448. data/spec/dummy/public/icons/folder_palette.png +0 -0
  449. data/spec/dummy/public/icons/folder_picture.png +0 -0
  450. data/spec/dummy/public/icons/folder_star.png +0 -0
  451. data/spec/dummy/public/icons/folder_table.png +0 -0
  452. data/spec/dummy/public/icons/folder_user.png +0 -0
  453. data/spec/dummy/public/icons/folder_wrench.png +0 -0
  454. data/spec/dummy/public/icons/font.png +0 -0
  455. data/spec/dummy/public/icons/font_add.png +0 -0
  456. data/spec/dummy/public/icons/font_delete.png +0 -0
  457. data/spec/dummy/public/icons/font_go.png +0 -0
  458. data/spec/dummy/public/icons/group_add.png +0 -0
  459. data/spec/dummy/public/icons/group_delete.png +0 -0
  460. data/spec/dummy/public/icons/group_edit.png +0 -0
  461. data/spec/dummy/public/icons/group_error.png +0 -0
  462. data/spec/dummy/public/icons/group_gear.png +0 -0
  463. data/spec/dummy/public/icons/group_go.png +0 -0
  464. data/spec/dummy/public/icons/group_key.png +0 -0
  465. data/spec/dummy/public/icons/group_link.png +0 -0
  466. data/spec/dummy/public/icons/heart.png +0 -0
  467. data/spec/dummy/public/icons/heart_add.png +0 -0
  468. data/spec/dummy/public/icons/heart_delete.png +0 -0
  469. data/spec/dummy/public/icons/help.png +0 -0
  470. data/spec/dummy/public/icons/hourglass.png +0 -0
  471. data/spec/dummy/public/icons/hourglass_add.png +0 -0
  472. data/spec/dummy/public/icons/hourglass_delete.png +0 -0
  473. data/spec/dummy/public/icons/hourglass_go.png +0 -0
  474. data/spec/dummy/public/icons/hourglass_link.png +0 -0
  475. data/spec/dummy/public/icons/house.png +0 -0
  476. data/spec/dummy/public/icons/house_go.png +0 -0
  477. data/spec/dummy/public/icons/house_link.png +0 -0
  478. data/spec/dummy/public/icons/html.png +0 -0
  479. data/spec/dummy/public/icons/html_add.png +0 -0
  480. data/spec/dummy/public/icons/html_delete.png +0 -0
  481. data/spec/dummy/public/icons/html_go.png +0 -0
  482. data/spec/dummy/public/icons/html_valid.png +0 -0
  483. data/spec/dummy/public/icons/image.png +0 -0
  484. data/spec/dummy/public/icons/image_add.png +0 -0
  485. data/spec/dummy/public/icons/image_delete.png +0 -0
  486. data/spec/dummy/public/icons/image_edit.png +0 -0
  487. data/spec/dummy/public/icons/image_link.png +0 -0
  488. data/spec/dummy/public/icons/images.png +0 -0
  489. data/spec/dummy/public/icons/information.png +0 -0
  490. data/spec/dummy/public/icons/ipod.png +0 -0
  491. data/spec/dummy/public/icons/ipod_cast.png +0 -0
  492. data/spec/dummy/public/icons/ipod_cast_add.png +0 -0
  493. data/spec/dummy/public/icons/ipod_cast_delete.png +0 -0
  494. data/spec/dummy/public/icons/ipod_sound.png +0 -0
  495. data/spec/dummy/public/icons/joystick.png +0 -0
  496. data/spec/dummy/public/icons/joystick_add.png +0 -0
  497. data/spec/dummy/public/icons/joystick_delete.png +0 -0
  498. data/spec/dummy/public/icons/joystick_error.png +0 -0
  499. data/spec/dummy/public/icons/key.png +0 -0
  500. data/spec/dummy/public/icons/key_add.png +0 -0
  501. data/spec/dummy/public/icons/key_delete.png +0 -0
  502. data/spec/dummy/public/icons/key_go.png +0 -0
  503. data/spec/dummy/public/icons/keyboard.png +0 -0
  504. data/spec/dummy/public/icons/keyboard_add.png +0 -0
  505. data/spec/dummy/public/icons/keyboard_delete.png +0 -0
  506. data/spec/dummy/public/icons/keyboard_magnify.png +0 -0
  507. data/spec/dummy/public/icons/layers.png +0 -0
  508. data/spec/dummy/public/icons/layout.png +0 -0
  509. data/spec/dummy/public/icons/layout_add.png +0 -0
  510. data/spec/dummy/public/icons/layout_content.png +0 -0
  511. data/spec/dummy/public/icons/layout_delete.png +0 -0
  512. data/spec/dummy/public/icons/layout_edit.png +0 -0
  513. data/spec/dummy/public/icons/layout_error.png +0 -0
  514. data/spec/dummy/public/icons/layout_header.png +0 -0
  515. data/spec/dummy/public/icons/layout_link.png +0 -0
  516. data/spec/dummy/public/icons/layout_sidebar.png +0 -0
  517. data/spec/dummy/public/icons/lightbulb.png +0 -0
  518. data/spec/dummy/public/icons/lightbulb_add.png +0 -0
  519. data/spec/dummy/public/icons/lightbulb_delete.png +0 -0
  520. data/spec/dummy/public/icons/lightbulb_off.png +0 -0
  521. data/spec/dummy/public/icons/lightning.png +0 -0
  522. data/spec/dummy/public/icons/lightning_add.png +0 -0
  523. data/spec/dummy/public/icons/lightning_delete.png +0 -0
  524. data/spec/dummy/public/icons/lightning_go.png +0 -0
  525. data/spec/dummy/public/icons/link.png +0 -0
  526. data/spec/dummy/public/icons/link_add.png +0 -0
  527. data/spec/dummy/public/icons/link_break.png +0 -0
  528. data/spec/dummy/public/icons/link_delete.png +0 -0
  529. data/spec/dummy/public/icons/link_edit.png +0 -0
  530. data/spec/dummy/public/icons/link_error.png +0 -0
  531. data/spec/dummy/public/icons/link_go.png +0 -0
  532. data/spec/dummy/public/icons/lock.png +0 -0
  533. data/spec/dummy/public/icons/lock_add.png +0 -0
  534. data/spec/dummy/public/icons/lock_break.png +0 -0
  535. data/spec/dummy/public/icons/lock_delete.png +0 -0
  536. data/spec/dummy/public/icons/lock_edit.png +0 -0
  537. data/spec/dummy/public/icons/lock_go.png +0 -0
  538. data/spec/dummy/public/icons/lock_open.png +0 -0
  539. data/spec/dummy/public/icons/lorry.png +0 -0
  540. data/spec/dummy/public/icons/lorry_add.png +0 -0
  541. data/spec/dummy/public/icons/lorry_delete.png +0 -0
  542. data/spec/dummy/public/icons/lorry_error.png +0 -0
  543. data/spec/dummy/public/icons/lorry_flatbed.png +0 -0
  544. data/spec/dummy/public/icons/lorry_go.png +0 -0
  545. data/spec/dummy/public/icons/lorry_link.png +0 -0
  546. data/spec/dummy/public/icons/magifier_zoom_out.png +0 -0
  547. data/spec/dummy/public/icons/magnifier.png +0 -0
  548. data/spec/dummy/public/icons/magnifier_zoom_in.png +0 -0
  549. data/spec/dummy/public/icons/male.png +0 -0
  550. data/spec/dummy/public/icons/map.png +0 -0
  551. data/spec/dummy/public/icons/map_add.png +0 -0
  552. data/spec/dummy/public/icons/map_delete.png +0 -0
  553. data/spec/dummy/public/icons/map_edit.png +0 -0
  554. data/spec/dummy/public/icons/map_go.png +0 -0
  555. data/spec/dummy/public/icons/map_magnify.png +0 -0
  556. data/spec/dummy/public/icons/medal_bronze_1.png +0 -0
  557. data/spec/dummy/public/icons/medal_bronze_2.png +0 -0
  558. data/spec/dummy/public/icons/medal_bronze_3.png +0 -0
  559. data/spec/dummy/public/icons/medal_bronze_add.png +0 -0
  560. data/spec/dummy/public/icons/medal_bronze_delete.png +0 -0
  561. data/spec/dummy/public/icons/medal_gold_1.png +0 -0
  562. data/spec/dummy/public/icons/medal_gold_2.png +0 -0
  563. data/spec/dummy/public/icons/medal_gold_3.png +0 -0
  564. data/spec/dummy/public/icons/medal_gold_add.png +0 -0
  565. data/spec/dummy/public/icons/medal_gold_delete.png +0 -0
  566. data/spec/dummy/public/icons/medal_silver_1.png +0 -0
  567. data/spec/dummy/public/icons/medal_silver_2.png +0 -0
  568. data/spec/dummy/public/icons/medal_silver_3.png +0 -0
  569. data/spec/dummy/public/icons/medal_silver_add.png +0 -0
  570. data/spec/dummy/public/icons/medal_silver_delete.png +0 -0
  571. data/spec/dummy/public/icons/money.png +0 -0
  572. data/spec/dummy/public/icons/money_add.png +0 -0
  573. data/spec/dummy/public/icons/money_delete.png +0 -0
  574. data/spec/dummy/public/icons/money_dollar.png +0 -0
  575. data/spec/dummy/public/icons/money_euro.png +0 -0
  576. data/spec/dummy/public/icons/money_pound.png +0 -0
  577. data/spec/dummy/public/icons/money_yen.png +0 -0
  578. data/spec/dummy/public/icons/monitor.png +0 -0
  579. data/spec/dummy/public/icons/monitor_add.png +0 -0
  580. data/spec/dummy/public/icons/monitor_delete.png +0 -0
  581. data/spec/dummy/public/icons/monitor_edit.png +0 -0
  582. data/spec/dummy/public/icons/monitor_error.png +0 -0
  583. data/spec/dummy/public/icons/monitor_go.png +0 -0
  584. data/spec/dummy/public/icons/monitor_lightning.png +0 -0
  585. data/spec/dummy/public/icons/monitor_link.png +0 -0
  586. data/spec/dummy/public/icons/mouse.png +0 -0
  587. data/spec/dummy/public/icons/mouse_add.png +0 -0
  588. data/spec/dummy/public/icons/mouse_delete.png +0 -0
  589. data/spec/dummy/public/icons/mouse_error.png +0 -0
  590. data/spec/dummy/public/icons/music.png +0 -0
  591. data/spec/dummy/public/icons/new.png +0 -0
  592. data/spec/dummy/public/icons/newspaper.png +0 -0
  593. data/spec/dummy/public/icons/newspaper_add.png +0 -0
  594. data/spec/dummy/public/icons/newspaper_delete.png +0 -0
  595. data/spec/dummy/public/icons/newspaper_go.png +0 -0
  596. data/spec/dummy/public/icons/newspaper_link.png +0 -0
  597. data/spec/dummy/public/icons/note.png +0 -0
  598. data/spec/dummy/public/icons/note_add.png +0 -0
  599. data/spec/dummy/public/icons/note_delete.png +0 -0
  600. data/spec/dummy/public/icons/note_edit.png +0 -0
  601. data/spec/dummy/public/icons/note_error.png +0 -0
  602. data/spec/dummy/public/icons/note_go.png +0 -0
  603. data/spec/dummy/public/icons/overlays.png +0 -0
  604. data/spec/dummy/public/icons/package.png +0 -0
  605. data/spec/dummy/public/icons/package_add.png +0 -0
  606. data/spec/dummy/public/icons/package_delete.png +0 -0
  607. data/spec/dummy/public/icons/package_go.png +0 -0
  608. data/spec/dummy/public/icons/package_green.png +0 -0
  609. data/spec/dummy/public/icons/package_link.png +0 -0
  610. data/spec/dummy/public/icons/page.png +0 -0
  611. data/spec/dummy/public/icons/page_add.png +0 -0
  612. data/spec/dummy/public/icons/page_attach.png +0 -0
  613. data/spec/dummy/public/icons/page_code.png +0 -0
  614. data/spec/dummy/public/icons/page_copy.png +0 -0
  615. data/spec/dummy/public/icons/page_delete.png +0 -0
  616. data/spec/dummy/public/icons/page_edit.png +0 -0
  617. data/spec/dummy/public/icons/page_error.png +0 -0
  618. data/spec/dummy/public/icons/page_excel.png +0 -0
  619. data/spec/dummy/public/icons/page_find.png +0 -0
  620. data/spec/dummy/public/icons/page_gear.png +0 -0
  621. data/spec/dummy/public/icons/page_go.png +0 -0
  622. data/spec/dummy/public/icons/page_green.png +0 -0
  623. data/spec/dummy/public/icons/page_key.png +0 -0
  624. data/spec/dummy/public/icons/page_link.png +0 -0
  625. data/spec/dummy/public/icons/page_paintbrush.png +0 -0
  626. data/spec/dummy/public/icons/page_paste.png +0 -0
  627. data/spec/dummy/public/icons/page_red.png +0 -0
  628. data/spec/dummy/public/icons/page_refresh.png +0 -0
  629. data/spec/dummy/public/icons/page_save.png +0 -0
  630. data/spec/dummy/public/icons/page_white.png +0 -0
  631. data/spec/dummy/public/icons/page_white_acrobat.png +0 -0
  632. data/spec/dummy/public/icons/page_white_actionscript.png +0 -0
  633. data/spec/dummy/public/icons/page_white_add.png +0 -0
  634. data/spec/dummy/public/icons/page_white_c.png +0 -0
  635. data/spec/dummy/public/icons/page_white_camera.png +0 -0
  636. data/spec/dummy/public/icons/page_white_cd.png +0 -0
  637. data/spec/dummy/public/icons/page_white_code.png +0 -0
  638. data/spec/dummy/public/icons/page_white_code_red.png +0 -0
  639. data/spec/dummy/public/icons/page_white_coldfusion.png +0 -0
  640. data/spec/dummy/public/icons/page_white_compressed.png +0 -0
  641. data/spec/dummy/public/icons/page_white_copy.png +0 -0
  642. data/spec/dummy/public/icons/page_white_cplusplus.png +0 -0
  643. data/spec/dummy/public/icons/page_white_csharp.png +0 -0
  644. data/spec/dummy/public/icons/page_white_cup.png +0 -0
  645. data/spec/dummy/public/icons/page_white_database.png +0 -0
  646. data/spec/dummy/public/icons/page_white_delete.png +0 -0
  647. data/spec/dummy/public/icons/page_white_dvd.png +0 -0
  648. data/spec/dummy/public/icons/page_white_edit.png +0 -0
  649. data/spec/dummy/public/icons/page_white_error.png +0 -0
  650. data/spec/dummy/public/icons/page_white_excel.png +0 -0
  651. data/spec/dummy/public/icons/page_white_find.png +0 -0
  652. data/spec/dummy/public/icons/page_white_flash.png +0 -0
  653. data/spec/dummy/public/icons/page_white_freehand.png +0 -0
  654. data/spec/dummy/public/icons/page_white_gear.png +0 -0
  655. data/spec/dummy/public/icons/page_white_get.png +0 -0
  656. data/spec/dummy/public/icons/page_white_go.png +0 -0
  657. data/spec/dummy/public/icons/page_white_h.png +0 -0
  658. data/spec/dummy/public/icons/page_white_horizontal.png +0 -0
  659. data/spec/dummy/public/icons/page_white_key.png +0 -0
  660. data/spec/dummy/public/icons/page_white_lightning.png +0 -0
  661. data/spec/dummy/public/icons/page_white_link.png +0 -0
  662. data/spec/dummy/public/icons/page_white_magnify.png +0 -0
  663. data/spec/dummy/public/icons/page_white_medal.png +0 -0
  664. data/spec/dummy/public/icons/page_white_office.png +0 -0
  665. data/spec/dummy/public/icons/page_white_paint.png +0 -0
  666. data/spec/dummy/public/icons/page_white_paintbrush.png +0 -0
  667. data/spec/dummy/public/icons/page_white_paste.png +0 -0
  668. data/spec/dummy/public/icons/page_white_php.png +0 -0
  669. data/spec/dummy/public/icons/page_white_picture.png +0 -0
  670. data/spec/dummy/public/icons/page_white_powerpoint.png +0 -0
  671. data/spec/dummy/public/icons/page_white_put.png +0 -0
  672. data/spec/dummy/public/icons/page_white_ruby.png +0 -0
  673. data/spec/dummy/public/icons/page_white_stack.png +0 -0
  674. data/spec/dummy/public/icons/page_white_star.png +0 -0
  675. data/spec/dummy/public/icons/page_white_swoosh.png +0 -0
  676. data/spec/dummy/public/icons/page_white_text.png +0 -0
  677. data/spec/dummy/public/icons/page_white_text_width.png +0 -0
  678. data/spec/dummy/public/icons/page_white_tux.png +0 -0
  679. data/spec/dummy/public/icons/page_white_vector.png +0 -0
  680. data/spec/dummy/public/icons/page_white_visualstudio.png +0 -0
  681. data/spec/dummy/public/icons/page_white_width.png +0 -0
  682. data/spec/dummy/public/icons/page_white_word.png +0 -0
  683. data/spec/dummy/public/icons/page_white_world.png +0 -0
  684. data/spec/dummy/public/icons/page_white_wrench.png +0 -0
  685. data/spec/dummy/public/icons/page_white_zip.png +0 -0
  686. data/spec/dummy/public/icons/page_word.png +0 -0
  687. data/spec/dummy/public/icons/page_world.png +0 -0
  688. data/spec/dummy/public/icons/paintbrush.png +0 -0
  689. data/spec/dummy/public/icons/paintcan.png +0 -0
  690. data/spec/dummy/public/icons/palette.png +0 -0
  691. data/spec/dummy/public/icons/paste_plain.png +0 -0
  692. data/spec/dummy/public/icons/paste_word.png +0 -0
  693. data/spec/dummy/public/icons/pencil.png +0 -0
  694. data/spec/dummy/public/icons/pencil_add.png +0 -0
  695. data/spec/dummy/public/icons/pencil_delete.png +0 -0
  696. data/spec/dummy/public/icons/pencil_go.png +0 -0
  697. data/spec/dummy/public/icons/phone.png +0 -0
  698. data/spec/dummy/public/icons/phone_add.png +0 -0
  699. data/spec/dummy/public/icons/phone_delete.png +0 -0
  700. data/spec/dummy/public/icons/phone_sound.png +0 -0
  701. data/spec/dummy/public/icons/photo.png +0 -0
  702. data/spec/dummy/public/icons/photo_add.png +0 -0
  703. data/spec/dummy/public/icons/photo_delete.png +0 -0
  704. data/spec/dummy/public/icons/photo_link.png +0 -0
  705. data/spec/dummy/public/icons/photos.png +0 -0
  706. data/spec/dummy/public/icons/picture.png +0 -0
  707. data/spec/dummy/public/icons/picture_add.png +0 -0
  708. data/spec/dummy/public/icons/picture_delete.png +0 -0
  709. data/spec/dummy/public/icons/picture_edit.png +0 -0
  710. data/spec/dummy/public/icons/picture_empty.png +0 -0
  711. data/spec/dummy/public/icons/picture_error.png +0 -0
  712. data/spec/dummy/public/icons/picture_go.png +0 -0
  713. data/spec/dummy/public/icons/picture_key.png +0 -0
  714. data/spec/dummy/public/icons/picture_link.png +0 -0
  715. data/spec/dummy/public/icons/picture_save.png +0 -0
  716. data/spec/dummy/public/icons/pictures.png +0 -0
  717. data/spec/dummy/public/icons/pilcrow.png +0 -0
  718. data/spec/dummy/public/icons/pill.png +0 -0
  719. data/spec/dummy/public/icons/pill_add.png +0 -0
  720. data/spec/dummy/public/icons/pill_delete.png +0 -0
  721. data/spec/dummy/public/icons/pill_go.png +0 -0
  722. data/spec/dummy/public/icons/plugin.png +0 -0
  723. data/spec/dummy/public/icons/plugin_add.png +0 -0
  724. data/spec/dummy/public/icons/plugin_delete.png +0 -0
  725. data/spec/dummy/public/icons/plugin_disabled.png +0 -0
  726. data/spec/dummy/public/icons/plugin_edit.png +0 -0
  727. data/spec/dummy/public/icons/plugin_error.png +0 -0
  728. data/spec/dummy/public/icons/plugin_go.png +0 -0
  729. data/spec/dummy/public/icons/plugin_link.png +0 -0
  730. data/spec/dummy/public/icons/printer_add.png +0 -0
  731. data/spec/dummy/public/icons/printer_delete.png +0 -0
  732. data/spec/dummy/public/icons/printer_empty.png +0 -0
  733. data/spec/dummy/public/icons/printer_error.png +0 -0
  734. data/spec/dummy/public/icons/rainbow.png +0 -0
  735. data/spec/dummy/public/icons/report.png +0 -0
  736. data/spec/dummy/public/icons/report_add.png +0 -0
  737. data/spec/dummy/public/icons/report_delete.png +0 -0
  738. data/spec/dummy/public/icons/report_edit.png +0 -0
  739. data/spec/dummy/public/icons/report_key.png +0 -0
  740. data/spec/dummy/public/icons/report_link.png +0 -0
  741. data/spec/dummy/public/icons/report_picture.png +0 -0
  742. data/spec/dummy/public/icons/report_user.png +0 -0
  743. data/spec/dummy/public/icons/report_word.png +0 -0
  744. data/spec/dummy/public/icons/resultset_first.png +0 -0
  745. data/spec/dummy/public/icons/resultset_last.png +0 -0
  746. data/spec/dummy/public/icons/resultset_next.png +0 -0
  747. data/spec/dummy/public/icons/resultset_previous.png +0 -0
  748. data/spec/dummy/public/icons/rosette.png +0 -0
  749. data/spec/dummy/public/icons/rss.png +0 -0
  750. data/spec/dummy/public/icons/rss_add.png +0 -0
  751. data/spec/dummy/public/icons/rss_delete.png +0 -0
  752. data/spec/dummy/public/icons/rss_go.png +0 -0
  753. data/spec/dummy/public/icons/rss_valid.png +0 -0
  754. data/spec/dummy/public/icons/ruby.png +0 -0
  755. data/spec/dummy/public/icons/ruby_add.png +0 -0
  756. data/spec/dummy/public/icons/ruby_delete.png +0 -0
  757. data/spec/dummy/public/icons/ruby_gear.png +0 -0
  758. data/spec/dummy/public/icons/ruby_get.png +0 -0
  759. data/spec/dummy/public/icons/ruby_go.png +0 -0
  760. data/spec/dummy/public/icons/ruby_key.png +0 -0
  761. data/spec/dummy/public/icons/ruby_link.png +0 -0
  762. data/spec/dummy/public/icons/ruby_put.png +0 -0
  763. data/spec/dummy/public/icons/script_code.png +0 -0
  764. data/spec/dummy/public/icons/script_code_red.png +0 -0
  765. data/spec/dummy/public/icons/script_delete.png +0 -0
  766. data/spec/dummy/public/icons/script_edit.png +0 -0
  767. data/spec/dummy/public/icons/script_error.png +0 -0
  768. data/spec/dummy/public/icons/script_gear.png +0 -0
  769. data/spec/dummy/public/icons/script_lightning.png +0 -0
  770. data/spec/dummy/public/icons/script_link.png +0 -0
  771. data/spec/dummy/public/icons/script_palette.png +0 -0
  772. data/spec/dummy/public/icons/script_save.png +0 -0
  773. data/spec/dummy/public/icons/server.png +0 -0
  774. data/spec/dummy/public/icons/server_add.png +0 -0
  775. data/spec/dummy/public/icons/server_chart.png +0 -0
  776. data/spec/dummy/public/icons/server_compressed.png +0 -0
  777. data/spec/dummy/public/icons/server_connect.png +0 -0
  778. data/spec/dummy/public/icons/server_database.png +0 -0
  779. data/spec/dummy/public/icons/server_delete.png +0 -0
  780. data/spec/dummy/public/icons/server_edit.png +0 -0
  781. data/spec/dummy/public/icons/server_error.png +0 -0
  782. data/spec/dummy/public/icons/server_go.png +0 -0
  783. data/spec/dummy/public/icons/server_key.png +0 -0
  784. data/spec/dummy/public/icons/server_lightning.png +0 -0
  785. data/spec/dummy/public/icons/server_link.png +0 -0
  786. data/spec/dummy/public/icons/server_uncompressed.png +0 -0
  787. data/spec/dummy/public/icons/shading.png +0 -0
  788. data/spec/dummy/public/icons/shape_align_bottom.png +0 -0
  789. data/spec/dummy/public/icons/shape_align_center.png +0 -0
  790. data/spec/dummy/public/icons/shape_align_left.png +0 -0
  791. data/spec/dummy/public/icons/shape_align_middle.png +0 -0
  792. data/spec/dummy/public/icons/shape_align_right.png +0 -0
  793. data/spec/dummy/public/icons/shape_align_top.png +0 -0
  794. data/spec/dummy/public/icons/shape_flip_horizontal.png +0 -0
  795. data/spec/dummy/public/icons/shape_flip_vertical.png +0 -0
  796. data/spec/dummy/public/icons/shape_group.png +0 -0
  797. data/spec/dummy/public/icons/shape_handles.png +0 -0
  798. data/spec/dummy/public/icons/shape_move_back.png +0 -0
  799. data/spec/dummy/public/icons/shape_move_backwards.png +0 -0
  800. data/spec/dummy/public/icons/shape_move_forwards.png +0 -0
  801. data/spec/dummy/public/icons/shape_move_front.png +0 -0
  802. data/spec/dummy/public/icons/shape_rotate_anticlockwise.png +0 -0
  803. data/spec/dummy/public/icons/shape_rotate_clockwise.png +0 -0
  804. data/spec/dummy/public/icons/shape_square.png +0 -0
  805. data/spec/dummy/public/icons/shape_square_add.png +0 -0
  806. data/spec/dummy/public/icons/shape_square_delete.png +0 -0
  807. data/spec/dummy/public/icons/shape_square_edit.png +0 -0
  808. data/spec/dummy/public/icons/shape_square_error.png +0 -0
  809. data/spec/dummy/public/icons/shape_square_go.png +0 -0
  810. data/spec/dummy/public/icons/shape_square_key.png +0 -0
  811. data/spec/dummy/public/icons/shape_square_link.png +0 -0
  812. data/spec/dummy/public/icons/shape_ungroup.png +0 -0
  813. data/spec/dummy/public/icons/shield.png +0 -0
  814. data/spec/dummy/public/icons/shield_add.png +0 -0
  815. data/spec/dummy/public/icons/shield_delete.png +0 -0
  816. data/spec/dummy/public/icons/shield_go.png +0 -0
  817. data/spec/dummy/public/icons/sitemap.png +0 -0
  818. data/spec/dummy/public/icons/sitemap_color.png +0 -0
  819. data/spec/dummy/public/icons/sound.png +0 -0
  820. data/spec/dummy/public/icons/sound_add.png +0 -0
  821. data/spec/dummy/public/icons/sound_delete.png +0 -0
  822. data/spec/dummy/public/icons/sound_low.png +0 -0
  823. data/spec/dummy/public/icons/sound_mute.png +0 -0
  824. data/spec/dummy/public/icons/sound_none.png +0 -0
  825. data/spec/dummy/public/icons/spellcheck.png +0 -0
  826. data/spec/dummy/public/icons/sport_8ball.png +0 -0
  827. data/spec/dummy/public/icons/sport_basketball.png +0 -0
  828. data/spec/dummy/public/icons/sport_football.png +0 -0
  829. data/spec/dummy/public/icons/sport_golf.png +0 -0
  830. data/spec/dummy/public/icons/sport_raquet.png +0 -0
  831. data/spec/dummy/public/icons/sport_shuttlecock.png +0 -0
  832. data/spec/dummy/public/icons/sport_soccer.png +0 -0
  833. data/spec/dummy/public/icons/sport_tennis.png +0 -0
  834. data/spec/dummy/public/icons/star.png +0 -0
  835. data/spec/dummy/public/icons/status_away.png +0 -0
  836. data/spec/dummy/public/icons/status_busy.png +0 -0
  837. data/spec/dummy/public/icons/status_offline.png +0 -0
  838. data/spec/dummy/public/icons/status_online.png +0 -0
  839. data/spec/dummy/public/icons/stop.png +0 -0
  840. data/spec/dummy/public/icons/style.png +0 -0
  841. data/spec/dummy/public/icons/style_add.png +0 -0
  842. data/spec/dummy/public/icons/style_delete.png +0 -0
  843. data/spec/dummy/public/icons/style_edit.png +0 -0
  844. data/spec/dummy/public/icons/style_go.png +0 -0
  845. data/spec/dummy/public/icons/sum.png +0 -0
  846. data/spec/dummy/public/icons/tab.png +0 -0
  847. data/spec/dummy/public/icons/tab_add.png +0 -0
  848. data/spec/dummy/public/icons/tab_delete.png +0 -0
  849. data/spec/dummy/public/icons/tab_edit.png +0 -0
  850. data/spec/dummy/public/icons/tab_go.png +0 -0
  851. data/spec/dummy/public/icons/table.png +0 -0
  852. data/spec/dummy/public/icons/table_add.png +0 -0
  853. data/spec/dummy/public/icons/table_delete.png +0 -0
  854. data/spec/dummy/public/icons/table_edit.png +0 -0
  855. data/spec/dummy/public/icons/table_error.png +0 -0
  856. data/spec/dummy/public/icons/table_gear.png +0 -0
  857. data/spec/dummy/public/icons/table_key.png +0 -0
  858. data/spec/dummy/public/icons/table_lightning.png +0 -0
  859. data/spec/dummy/public/icons/table_link.png +0 -0
  860. data/spec/dummy/public/icons/table_multiple.png +0 -0
  861. data/spec/dummy/public/icons/table_refresh.png +0 -0
  862. data/spec/dummy/public/icons/table_relationship.png +0 -0
  863. data/spec/dummy/public/icons/table_row_delete.png +0 -0
  864. data/spec/dummy/public/icons/table_row_insert.png +0 -0
  865. data/spec/dummy/public/icons/table_save.png +0 -0
  866. data/spec/dummy/public/icons/table_sort.png +0 -0
  867. data/spec/dummy/public/icons/tag.png +0 -0
  868. data/spec/dummy/public/icons/tag_blue.png +0 -0
  869. data/spec/dummy/public/icons/tag_blue_add.png +0 -0
  870. data/spec/dummy/public/icons/tag_blue_delete.png +0 -0
  871. data/spec/dummy/public/icons/tag_blue_edit.png +0 -0
  872. data/spec/dummy/public/icons/tag_green.png +0 -0
  873. data/spec/dummy/public/icons/tag_orange.png +0 -0
  874. data/spec/dummy/public/icons/tag_pink.png +0 -0
  875. data/spec/dummy/public/icons/tag_purple.png +0 -0
  876. data/spec/dummy/public/icons/tag_red.png +0 -0
  877. data/spec/dummy/public/icons/tag_yellow.png +0 -0
  878. data/spec/dummy/public/icons/telephone.png +0 -0
  879. data/spec/dummy/public/icons/telephone_add.png +0 -0
  880. data/spec/dummy/public/icons/telephone_delete.png +0 -0
  881. data/spec/dummy/public/icons/telephone_edit.png +0 -0
  882. data/spec/dummy/public/icons/telephone_error.png +0 -0
  883. data/spec/dummy/public/icons/telephone_go.png +0 -0
  884. data/spec/dummy/public/icons/telephone_key.png +0 -0
  885. data/spec/dummy/public/icons/telephone_link.png +0 -0
  886. data/spec/dummy/public/icons/television.png +0 -0
  887. data/spec/dummy/public/icons/television_add.png +0 -0
  888. data/spec/dummy/public/icons/television_delete.png +0 -0
  889. data/spec/dummy/public/icons/text_align_center.png +0 -0
  890. data/spec/dummy/public/icons/text_align_justify.png +0 -0
  891. data/spec/dummy/public/icons/text_align_left.png +0 -0
  892. data/spec/dummy/public/icons/text_align_right.png +0 -0
  893. data/spec/dummy/public/icons/text_allcaps.png +0 -0
  894. data/spec/dummy/public/icons/text_bold.png +0 -0
  895. data/spec/dummy/public/icons/text_columns.png +0 -0
  896. data/spec/dummy/public/icons/text_dropcaps.png +0 -0
  897. data/spec/dummy/public/icons/text_heading_1.png +0 -0
  898. data/spec/dummy/public/icons/text_heading_2.png +0 -0
  899. data/spec/dummy/public/icons/text_heading_3.png +0 -0
  900. data/spec/dummy/public/icons/text_heading_4.png +0 -0
  901. data/spec/dummy/public/icons/text_heading_5.png +0 -0
  902. data/spec/dummy/public/icons/text_heading_6.png +0 -0
  903. data/spec/dummy/public/icons/text_horizontalrule.png +0 -0
  904. data/spec/dummy/public/icons/text_indent.png +0 -0
  905. data/spec/dummy/public/icons/text_indent_remove.png +0 -0
  906. data/spec/dummy/public/icons/text_italic.png +0 -0
  907. data/spec/dummy/public/icons/text_kerning.png +0 -0
  908. data/spec/dummy/public/icons/text_letter_omega.png +0 -0
  909. data/spec/dummy/public/icons/text_letterspacing.png +0 -0
  910. data/spec/dummy/public/icons/text_linespacing.png +0 -0
  911. data/spec/dummy/public/icons/text_list_bullets.png +0 -0
  912. data/spec/dummy/public/icons/text_list_numbers.png +0 -0
  913. data/spec/dummy/public/icons/text_lowercase.png +0 -0
  914. data/spec/dummy/public/icons/text_padding_bottom.png +0 -0
  915. data/spec/dummy/public/icons/text_padding_left.png +0 -0
  916. data/spec/dummy/public/icons/text_padding_right.png +0 -0
  917. data/spec/dummy/public/icons/text_padding_top.png +0 -0
  918. data/spec/dummy/public/icons/text_replace.png +0 -0
  919. data/spec/dummy/public/icons/text_signature.png +0 -0
  920. data/spec/dummy/public/icons/text_smallcaps.png +0 -0
  921. data/spec/dummy/public/icons/text_strikethrough.png +0 -0
  922. data/spec/dummy/public/icons/text_subscript.png +0 -0
  923. data/spec/dummy/public/icons/text_superscript.png +0 -0
  924. data/spec/dummy/public/icons/text_underline.png +0 -0
  925. data/spec/dummy/public/icons/text_uppercase.png +0 -0
  926. data/spec/dummy/public/icons/textfield.png +0 -0
  927. data/spec/dummy/public/icons/textfield_add.png +0 -0
  928. data/spec/dummy/public/icons/textfield_delete.png +0 -0
  929. data/spec/dummy/public/icons/textfield_key.png +0 -0
  930. data/spec/dummy/public/icons/textfield_rename.png +0 -0
  931. data/spec/dummy/public/icons/thumb_down.png +0 -0
  932. data/spec/dummy/public/icons/thumb_up.png +0 -0
  933. data/spec/dummy/public/icons/tick.png +0 -0
  934. data/spec/dummy/public/icons/time_delete.png +0 -0
  935. data/spec/dummy/public/icons/transmit.png +0 -0
  936. data/spec/dummy/public/icons/transmit_add.png +0 -0
  937. data/spec/dummy/public/icons/transmit_blue.png +0 -0
  938. data/spec/dummy/public/icons/transmit_delete.png +0 -0
  939. data/spec/dummy/public/icons/transmit_edit.png +0 -0
  940. data/spec/dummy/public/icons/transmit_error.png +0 -0
  941. data/spec/dummy/public/icons/transmit_go.png +0 -0
  942. data/spec/dummy/public/icons/tux.png +0 -0
  943. data/spec/dummy/public/icons/user.png +0 -0
  944. data/spec/dummy/public/icons/user_comment.png +0 -0
  945. data/spec/dummy/public/icons/user_female.png +0 -0
  946. data/spec/dummy/public/icons/user_go.png +0 -0
  947. data/spec/dummy/public/icons/user_gray.png +0 -0
  948. data/spec/dummy/public/icons/user_green.png +0 -0
  949. data/spec/dummy/public/icons/user_orange.png +0 -0
  950. data/spec/dummy/public/icons/user_red.png +0 -0
  951. data/spec/dummy/public/icons/user_suit.png +0 -0
  952. data/spec/dummy/public/icons/vcard.png +0 -0
  953. data/spec/dummy/public/icons/vcard_add.png +0 -0
  954. data/spec/dummy/public/icons/vcard_delete.png +0 -0
  955. data/spec/dummy/public/icons/vcard_edit.png +0 -0
  956. data/spec/dummy/public/icons/vector.png +0 -0
  957. data/spec/dummy/public/icons/vector_add.png +0 -0
  958. data/spec/dummy/public/icons/vector_delete.png +0 -0
  959. data/spec/dummy/public/icons/wand.png +0 -0
  960. data/spec/dummy/public/icons/weather_clouds.png +0 -0
  961. data/spec/dummy/public/icons/weather_cloudy.png +0 -0
  962. data/spec/dummy/public/icons/weather_lightning.png +0 -0
  963. data/spec/dummy/public/icons/weather_rain.png +0 -0
  964. data/spec/dummy/public/icons/weather_snow.png +0 -0
  965. data/spec/dummy/public/icons/weather_sun.png +0 -0
  966. data/spec/dummy/public/icons/webcam.png +0 -0
  967. data/spec/dummy/public/icons/webcam_add.png +0 -0
  968. data/spec/dummy/public/icons/webcam_delete.png +0 -0
  969. data/spec/dummy/public/icons/webcam_error.png +0 -0
  970. data/spec/dummy/public/icons/world.png +0 -0
  971. data/spec/dummy/public/icons/world_add.png +0 -0
  972. data/spec/dummy/public/icons/world_delete.png +0 -0
  973. data/spec/dummy/public/icons/world_edit.png +0 -0
  974. data/spec/dummy/public/icons/world_go.png +0 -0
  975. data/spec/dummy/public/icons/world_link.png +0 -0
  976. data/spec/dummy/public/icons/wrench_orange.png +0 -0
  977. data/spec/dummy/public/icons/xhtml.png +0 -0
  978. data/spec/dummy/public/icons/xhtml_add.png +0 -0
  979. data/spec/dummy/public/icons/xhtml_delete.png +0 -0
  980. data/spec/dummy/public/icons/xhtml_go.png +0 -0
  981. data/spec/dummy/public/icons/xhtml_valid.png +0 -0
  982. data/spec/dummy/public/icons/zoom.png +0 -0
  983. data/spec/dummy/public/icons/zoom_in.png +0 -0
  984. data/spec/dummy/public/icons/zoom_out.png +0 -0
  985. data/spec/features/auth_app_spec.rb +77 -0
  986. data/spec/features/data_import_spec.rb +163 -0
  987. data/spec/features/reporting_spec.rb +242 -0
  988. data/spec/features/scripting_spec.rb +308 -0
  989. data/spec/features/scripting_test_spec.rb +351 -0
  990. data/spec/features/user_view_spec.rb +164 -0
  991. data/spec/spec_helper.rb +15 -2
  992. data/spec/support/clean_db_helpers.rb +2 -2
  993. data/spec/support/integration_helpers.rb +630 -0
  994. metadata +981 -2
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,77 @@
1
+ require 'spec_helper'
2
+
3
+ feature 'Posting workflows', js: true do
4
+
5
+ before(:all) do
6
+ @clean_file = "/tmp/clean_#{Process.pid}.psql"
7
+ save_clean_db(@clean_file)
8
+
9
+ populate_test_users
10
+
11
+ custom_selectors
12
+
13
+ monkey_patch_new_posting_form
14
+ end
15
+
16
+ after(:all) do
17
+ restore_clean_db(@clean_file)
18
+ end
19
+
20
+ def monkey_patch_new_posting_form
21
+ # presently, Gemini displays similar monkeypatching behavior.
22
+ # consider coming up with a proper fix...
23
+ Marty::NewPostingForm.has_marty_permissions(BASE: :admin)
24
+ end
25
+
26
+ let(:pg) { gridpanel('posting_grid') }
27
+
28
+ it 'create posting and select it' do
29
+ log_in_as('admin1')
30
+
31
+ by 'bring up new posting form' do
32
+ wait_for_ajax
33
+ press('Postings')
34
+ press('New Posting')
35
+ end
36
+
37
+ and_by 'make posting TEST-A' do
38
+ click_combobox('Posting Type')
39
+ select_combobox('BASE', 'Posting Type')
40
+ fill_in('Comment', with: 'TEST-A')
41
+ press('Create')
42
+ end
43
+
44
+ and_by 'bring up select posting form' do
45
+ wait_for_ajax
46
+ press('Postings')
47
+ press('Select Posting')
48
+ end
49
+
50
+ and_by 'select new posting' do
51
+ within(:gridpanel, 'posting_window', match: :first) do
52
+ expect(row_count(pg)).to eq 2
53
+ select_row(2, pg)
54
+ press('Select')
55
+ end
56
+ end
57
+
58
+ and_by 'can see that we are time warped' do
59
+ expect(page).to have_content "TIME WARPED"
60
+ end
61
+ end
62
+
63
+ it 'cannot create posting as dev' do
64
+ log_in_as('dev1')
65
+
66
+ by 'bring up new posting form' do
67
+ wait_for_ajax
68
+ press('Postings')
69
+ press('New Posting')
70
+ end
71
+
72
+ and_by 'no posting available for adding' do
73
+ click_combobox('Posting Type')
74
+ expect(combobox_values('Posting Type')).not_to include 'BASE'
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,163 @@
1
+ require 'spec_helper'
2
+
3
+ feature 'under Applications menu, Reports using Data Import', js: true do
4
+
5
+ before(:all) do
6
+ @clean_file = "/tmp/clean_#{Process.pid}.psql"
7
+ save_clean_db(@clean_file)
8
+ dt = Time.zone.now
9
+
10
+ Marty::Script.load_scripts(nil, dt)
11
+
12
+ populate_import_type
13
+ populate_bud_category_fannie_bup
14
+ populate_test_users
15
+
16
+ custom_selectors
17
+ end
18
+
19
+ after(:all) do
20
+ restore_clean_db(@clean_file)
21
+ end
22
+
23
+ def go_to_reporting
24
+ press('Applications')
25
+ press('Reports')
26
+ expect(page).to have_content 'Report'
27
+ end
28
+
29
+ def populate_import_type
30
+ Marty::ImportType.create(name: 'BC',
31
+ db_model_name: 'Gemini::BudCategory',
32
+ role_id: 1
33
+ )
34
+ Marty::ImportType.create(name: 'FB',
35
+ db_model_name: 'Gemini::FannieBup',
36
+ role_id: 1
37
+ )
38
+ end
39
+
40
+ def populate_bud_category_fannie_bup
41
+ bc = Gemini::BudCategory.create(name: 'Conv Fixed 30')
42
+ Gemini::BudCategory.create(name: 'Govt Fixed 30')
43
+ Gemini::FannieBup.create(bud_category: bc,
44
+ note_rate: 2.250,
45
+ buy_up: 1.123,
46
+ buy_down: 2.345,
47
+ settlement_mm: 12,
48
+ settlement_yy: 2012,
49
+ )
50
+ end
51
+
52
+ let(:tg) { gridpanel('tag_grid') }
53
+ let(:sg) { gridpanel('script_grid') }
54
+ let(:rf) { gridpanel('report_form') }
55
+
56
+ it 'adds 2 new fannie bups via datareport script' do
57
+ expect do
58
+ log_in_as('marty')
59
+ go_to_reporting
60
+
61
+ by 'select BASE tag' do
62
+ select_row(2, tg)
63
+ end
64
+
65
+ and_by 'select DataReport script & Data Import node' do
66
+ select_row(2, sg)
67
+ end
68
+
69
+ and_by 'select Data Import node' do
70
+ wait_for_ajax
71
+
72
+ #hacky: assumes only 1 combobox without label
73
+ within(:gridpanel, 'report_select', match: :first, wait: 5) do
74
+ # hacky, hardcoding netzkecombobox dropdown arrow name
75
+ arrow = find(:input, 'nodename')['componentid'] + '-trigger-picker'
76
+ find(:xpath, ".//div[@id='#{arrow}']").click
77
+ find(:xpath, "//li[text()='Data Import Job (csv)']").click
78
+ end
79
+ end
80
+
81
+ and_by 'fill form' do
82
+ wait_for_ajax
83
+
84
+ within(:gridpanel, 'report_form', match: :first) do
85
+ select_combobox('FB', 'Import Type')
86
+ bud_id = Gemini::BudCategory.first.id
87
+ paste("bud_category_id\tnote_rate\tsettlement_mm\tsettlement_yy\tbuy_up\tbuy_down\n#{bud_id}\t9.500\t9\t2014\t0\t0\n#{bud_id}\t9.750\t9\t2014\t0\t0\n",
88
+ 'data_import_field')
89
+ end
90
+ end
91
+
92
+ and_by 'do Background Report with delayed jobs' do
93
+ Delayed::Worker.delay_jobs = false
94
+ press('Background Report')
95
+ wait_for_element { find(:status, 'Busy...') }
96
+ wait_for_ajax
97
+ Delayed::Worker.delay_jobs = true
98
+ end
99
+
100
+ and_by 'go to jobs dashboard' do
101
+ press('Applications')
102
+ press('Jobs Dashboard')
103
+ end
104
+
105
+ and_by 'background job has shown up' do
106
+ wait_for_ajax
107
+ expect(row_count(treepanel('promise_view'))).to eq 1
108
+ find(:xpath, "//tr[contains(@class, 'green-row')]", match: :first)
109
+ end
110
+
111
+ and_by '2 Fannie bups got added' do
112
+ # no reliable way to check if delayed job completed in time
113
+ wait_for_element(20.0) { Gemini::FannieBup.count == 3 }
114
+ end
115
+ end.to change { Gemini::FannieBup.count }.by 2
116
+ end
117
+
118
+ it 'attempts to add Bud Category without sufficient permissions but fails' do
119
+ expect do
120
+ log_in_as('dev1')
121
+ go_to_reporting
122
+
123
+ by 'select BASE tag' do
124
+ select_row(2, tg)
125
+ end
126
+
127
+ and_by 'select DataReport script & Data Import node' do
128
+ select_row(2, sg)
129
+ end
130
+
131
+ and_by 'select Data Import node' do
132
+ wait_for_ajax
133
+
134
+ #hacky: assumes only 1 combobox without label
135
+ within(:gridpanel, 'report_select', match: :first) do
136
+ # hacky, hardcoding netzkecombobox dropdown arrow name
137
+ arrow = find(:input, 'nodename')['componentid'] + '-trigger-picker'
138
+ find(:xpath, ".//div[@id='#{arrow}']").click
139
+ find(:xpath, "//li[text()='Data Import Job (csv)']").click
140
+ end
141
+ end
142
+
143
+ and_by 'fill form' do
144
+ wait_for_ajax
145
+
146
+ within(:gridpanel, 'report_form', match: :first) do
147
+ select_combobox('BC', 'Import Type')
148
+ paste("name\nConv Fixed 40\n", 'data_import_field')
149
+ end
150
+ end
151
+
152
+ and_by 'do Background Report with delayed jobs' do
153
+ Delayed::Worker.delay_jobs = false
154
+ press('Background Report')
155
+ wait_for_ajax
156
+ Delayed::Worker.delay_jobs = true
157
+ end
158
+
159
+ # hacky, this only assumes that the script failed, not that it failed
160
+ # due to insufficient permissions
161
+ end.not_to change { Gemini::BudCategory.count }
162
+ end
163
+ end