blacklight-spotlight 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (693) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/app/assets/javascripts/spotlight/application.js +1 -1
  4. data/app/assets/javascripts/spotlight/blacklight_configuration.js +28 -0
  5. data/app/assets/javascripts/spotlight/catalog_edit.js +45 -3
  6. data/app/assets/javascripts/spotlight/exhibits.js +3 -3
  7. data/app/assets/javascripts/spotlight/form_observer.js +64 -0
  8. data/app/assets/javascripts/spotlight/item_text_block.js +13 -5
  9. data/app/assets/javascripts/spotlight/multi_up_item_grid.js +96 -0
  10. data/app/assets/javascripts/spotlight/pages.js +18 -7
  11. data/app/assets/javascripts/spotlight/search_typeahead.js +1 -1
  12. data/app/assets/stylesheets/spotlight/{attachments.css → _attachments.css} +0 -0
  13. data/app/assets/stylesheets/spotlight/_blacklight_configuration.css.scss +21 -0
  14. data/app/assets/stylesheets/spotlight/_bootstrap_overrides.css.scss +29 -0
  15. data/app/assets/stylesheets/spotlight/{browse.css.scss → _browse.css.scss} +0 -0
  16. data/app/assets/stylesheets/spotlight/{catalog.css.scss → _catalog.css.scss} +11 -3
  17. data/app/assets/stylesheets/spotlight/{curation.css.scss → _curation.css.scss} +15 -4
  18. data/app/assets/stylesheets/spotlight/{exhibit_admin.css.scss → _exhibit_admin.css.scss} +0 -0
  19. data/app/assets/stylesheets/spotlight/_header.css.scss +41 -0
  20. data/app/assets/stylesheets/spotlight/{item_text_block.css.scss → _item_text_block.css.scss} +7 -1
  21. data/app/assets/stylesheets/spotlight/_multi_up_item_grid.css.scss +41 -0
  22. data/app/assets/stylesheets/spotlight/{nestable.css.scss → _nestable.css.scss} +0 -0
  23. data/app/assets/stylesheets/spotlight/_pages.css.scss +43 -0
  24. data/app/assets/stylesheets/spotlight/{sir-trevor.css.scss → _sir-trevor.css.scss} +0 -0
  25. data/app/assets/stylesheets/spotlight/_variables.css.scss +0 -0
  26. data/app/assets/stylesheets/spotlight/_variables_bootstrap.css.scss +7 -0
  27. data/app/assets/stylesheets/spotlight/{application.css → application.css.scss} +3 -2
  28. data/app/assets/stylesheets/spotlight/spotlight.css.scss +15 -0
  29. data/app/assets/stylesheets/spotlight/typeahead.css +0 -1
  30. data/app/builders/spotlight/bootstrap_breadcrumbs_builder.rb +24 -0
  31. data/app/controllers/spotlight/about_pages_controller.rb +30 -8
  32. data/app/controllers/spotlight/blacklight_configurations_controller.rb +9 -3
  33. data/app/controllers/spotlight/browse_controller.rb +31 -2
  34. data/app/controllers/spotlight/catalog_controller.rb +92 -7
  35. data/app/controllers/spotlight/contact_forms_controller.rb +1 -0
  36. data/app/controllers/spotlight/contacts_controller.rb +54 -0
  37. data/app/controllers/spotlight/custom_fields_controller.rb +15 -4
  38. data/app/controllers/spotlight/dashboard_controller.rb +13 -0
  39. data/app/controllers/spotlight/dashboards_controller.rb +36 -0
  40. data/app/controllers/spotlight/exhibits_controller.rb +4 -6
  41. data/app/controllers/spotlight/feature_pages_controller.rb +13 -10
  42. data/app/controllers/spotlight/home_pages_controller.rb +13 -20
  43. data/app/controllers/spotlight/pages_controller.rb +21 -14
  44. data/app/controllers/spotlight/roles_controller.rb +3 -0
  45. data/app/controllers/spotlight/searches_controller.rb +10 -0
  46. data/app/controllers/spotlight/tags_controller.rb +14 -2
  47. data/app/helpers/spotlight/admin_title_helper.rb +27 -0
  48. data/app/helpers/spotlight/application_helper.rb +11 -0
  49. data/app/helpers/spotlight/crud_link_helpers.rb +68 -0
  50. data/app/helpers/spotlight/main_app_helpers.rb +1 -15
  51. data/app/helpers/spotlight/pages_helper.rb +14 -0
  52. data/app/helpers/spotlight/roles_helper.rb +7 -0
  53. data/app/models/concerns/spotlight/ar_light.rb +16 -0
  54. data/app/models/concerns/spotlight/solr_document.rb +52 -2
  55. data/app/models/concerns/spotlight/solr_document/atomic_updates.rb +22 -0
  56. data/app/models/spotlight/ability.rb +12 -22
  57. data/app/models/spotlight/blacklight_configuration.rb +19 -13
  58. data/app/models/spotlight/contact.rb +5 -0
  59. data/app/models/spotlight/contact_form.rb +4 -2
  60. data/app/models/spotlight/custom_field.rb +7 -1
  61. data/app/models/spotlight/exhibit.rb +5 -3
  62. data/app/models/spotlight/home_page.rb +15 -6
  63. data/app/models/spotlight/page.rb +8 -0
  64. data/app/models/spotlight/role.rb +3 -1
  65. data/app/models/spotlight/search.rb +4 -0
  66. data/app/models/spotlight/solr_document_sidecar.rb +22 -0
  67. data/app/views/_user_util_links.html.erb +3 -6
  68. data/app/views/catalog/_image_default.html.erb +1 -1
  69. data/app/views/catalog/_save_search.html.erb +1 -1
  70. data/app/views/catalog/_sort_and_per_page.html.erb +1 -1
  71. data/app/views/shared/_exhibit_masthead.html.erb +2 -2
  72. data/app/views/shared/_exhibit_navbar.html.erb +11 -7
  73. data/app/views/shared/_header_navbar.html.erb +1 -1
  74. data/app/views/sir-trevor/blocks/_item_text_block.html.erb +1 -1
  75. data/app/views/sir-trevor/blocks/_multi_up_item_grid_block.html.erb +25 -0
  76. data/app/views/spotlight/about_pages/_contact.html.erb +19 -0
  77. data/app/views/spotlight/about_pages/_contact_properties.html.erb +5 -0
  78. data/app/views/spotlight/about_pages/_sidebar.html.erb +12 -1
  79. data/app/views/spotlight/about_pages/index.html.erb +20 -0
  80. data/app/views/spotlight/blacklight_configurations/edit_facet_fields.html.erb +11 -18
  81. data/app/views/spotlight/blacklight_configurations/edit_metadata_fields.html.erb +19 -19
  82. data/app/views/spotlight/browse/_search.html.erb +1 -1
  83. data/app/views/spotlight/browse/index.html.erb +1 -1
  84. data/app/views/spotlight/browse/show.html.erb +1 -1
  85. data/app/views/spotlight/catalog/_admin_thumbnail_default.html.erb +6 -0
  86. data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +3 -3
  87. data/app/views/spotlight/catalog/_document_admin_table.html.erb +6 -1
  88. data/app/views/spotlight/catalog/_document_visibility_control.html.erb +5 -0
  89. data/app/views/spotlight/catalog/_edit_default.html.erb +4 -2
  90. data/app/views/spotlight/catalog/_index_compact_default.html.erb +9 -1
  91. data/app/views/spotlight/catalog/_tags_default.html.erb +1 -1
  92. data/app/views/spotlight/catalog/admin.html.erb +1 -8
  93. data/app/views/spotlight/catalog/edit.html.erb +1 -5
  94. data/app/views/spotlight/contact_forms/new.html.erb +2 -4
  95. data/app/views/spotlight/contacts/_form.html.erb +11 -0
  96. data/app/views/spotlight/contacts/edit.html.erb +5 -0
  97. data/app/views/spotlight/contacts/new.html.erb +5 -0
  98. data/app/views/spotlight/custom_fields/_form.html.erb +3 -8
  99. data/app/views/spotlight/custom_fields/edit.html.erb +3 -1
  100. data/app/views/spotlight/custom_fields/new.html.erb +3 -0
  101. data/app/views/spotlight/dashboards/_analytics.html.erb +0 -0
  102. data/app/views/spotlight/dashboards/_page.html.erb +11 -0
  103. data/app/views/spotlight/dashboards/_page_activity.html.erb +28 -0
  104. data/app/views/spotlight/dashboards/_solr_document_activity.html.erb +3 -0
  105. data/app/views/spotlight/dashboards/show.html.erb +15 -0
  106. data/app/views/spotlight/exhibits/edit.html.erb +9 -14
  107. data/app/views/spotlight/feature_pages/_header.html.erb +5 -9
  108. data/app/views/spotlight/pages/_curation_mode_toggle.html.erb +12 -0
  109. data/app/views/spotlight/pages/_form.html.erb +2 -2
  110. data/app/views/spotlight/pages/_order_pages.html.erb +27 -0
  111. data/app/views/spotlight/pages/_page.html.erb +5 -5
  112. data/app/views/spotlight/pages/edit.html.erb +4 -2
  113. data/app/views/spotlight/pages/index.html.erb +1 -27
  114. data/app/views/spotlight/pages/new.html.erb +2 -2
  115. data/app/views/spotlight/pages/show.html.erb +8 -6
  116. data/app/views/spotlight/roles/_edit_fields.html.erb +1 -1
  117. data/app/views/spotlight/roles/index.html.erb +17 -13
  118. data/app/views/spotlight/searches/_search.html.erb +4 -4
  119. data/app/views/spotlight/searches/edit.html.erb +3 -4
  120. data/app/views/spotlight/searches/index.html.erb +12 -11
  121. data/app/views/spotlight/shared/_admin_sidebar.html.erb +0 -1
  122. data/app/views/spotlight/shared/_curation_sidebar.html.erb +3 -1
  123. data/app/views/spotlight/tags/index.html.erb +10 -12
  124. data/config/locales/spotlight.en.yml +196 -85
  125. data/config/routes.rb +14 -1
  126. data/db/migrate/20131119213142_create_spotlight_pages.rb +2 -0
  127. data/db/migrate/20140128155151_create_exhibits.rb +0 -1
  128. data/db/migrate/20140130215634_create_spotlight_blacklight_configurations.rb +1 -0
  129. data/db/migrate/20140211212626_create_spotlight_solr_document_sidecars.rb +1 -0
  130. data/db/migrate/20140218155151_create_contacts.rb +16 -0
  131. data/lib/generators/spotlight/install_generator.rb +1 -1
  132. data/lib/generators/spotlight/templates/spotlight.css.scss +3 -3
  133. data/lib/spotlight/catalog.rb +11 -1
  134. data/lib/spotlight/catalog/access_controls_enforcement.rb +15 -0
  135. data/lib/spotlight/engine.rb +10 -3
  136. data/lib/spotlight/rails/routes.rb +6 -2
  137. data/lib/spotlight/version.rb +1 -1
  138. data/spec/controllers/spotlight/about_pages_controller_spec.rb +79 -0
  139. data/spec/controllers/spotlight/blacklight_configurations_controller_spec.rb +9 -3
  140. data/spec/controllers/spotlight/browse_controller_spec.rb +14 -5
  141. data/spec/controllers/spotlight/catalog_controller_spec.rb +108 -4
  142. data/spec/controllers/spotlight/contacts_controller_spec.rb +76 -0
  143. data/spec/controllers/spotlight/custom_fields_controller_spec.rb +13 -3
  144. data/spec/controllers/spotlight/dashboards_controller_spec.rb +45 -0
  145. data/spec/controllers/spotlight/exhibits_controller_spec.rb +3 -0
  146. data/spec/controllers/spotlight/feature_pages_controller_spec.rb +39 -26
  147. data/spec/controllers/spotlight/home_pages_controller_spec.rb +25 -4
  148. data/spec/controllers/spotlight/roles_controller_spec.rb +8 -5
  149. data/spec/controllers/spotlight/searches_controller_spec.rb +6 -2
  150. data/spec/controllers/spotlight/tags_controller_spec.rb +12 -4
  151. data/spec/factories/contacts.rb +7 -0
  152. data/spec/factories/custom_fields.rb +1 -1
  153. data/spec/factories/exhibits.rb +1 -0
  154. data/spec/factories/pages.rb +3 -0
  155. data/spec/factories/roles.rb +1 -1
  156. data/spec/factories/searches.rb +1 -0
  157. data/spec/factories/tags.rb +6 -0
  158. data/spec/factories/users.rb +1 -1
  159. data/spec/features/add_contacts_spec.rb +38 -0
  160. data/spec/features/add_custom_field_metadata_spec.rb +2 -1
  161. data/spec/features/browse_category_admin_spec.rb +34 -0
  162. data/spec/features/create_page_spec.rb +3 -3
  163. data/spec/features/curation_mode_widget_spec.rb +54 -11
  164. data/spec/features/curator_items.rb +1 -1
  165. data/spec/features/dashboard_spec.rb +39 -0
  166. data/spec/features/exhibits/add_tags_spec.rb +3 -0
  167. data/spec/features/exhibits/custom_metadata_fields_spec.rb +2 -2
  168. data/spec/features/exhibits/edit_facet_fields_spec.rb +6 -6
  169. data/spec/features/exhibits/edit_metadata_fields_spec.rb +14 -0
  170. data/spec/features/feature_page_spec.rb +2 -0
  171. data/spec/features/home_page_spec.rb +18 -2
  172. data/spec/features/item_admin_spec.rb +49 -0
  173. data/spec/features/javascript/feature_page_admin_spec.rb +52 -2
  174. data/spec/features/javascript/item_text_block_spec.rb +41 -29
  175. data/spec/features/javascript/multi_up_item_grid_spec.rb +40 -0
  176. data/spec/features/metadata_admin_spec.rb +16 -0
  177. data/spec/features/report_a_problem_spec.rb +1 -1
  178. data/spec/features/search_facets_admin_spec.rb +18 -0
  179. data/spec/features/tags_admin_spec.rb +27 -0
  180. data/spec/features/user_admin_spec.rb +16 -0
  181. data/spec/fixtures/sample_solr_documents.yml +398 -398
  182. data/spec/helpers/spotlight/admin_title_helper_spec.rb +47 -0
  183. data/spec/helpers/spotlight/application_helper_spec.rb +20 -0
  184. data/spec/helpers/spotlight/crud_link_helpers_spec.rb +147 -0
  185. data/spec/helpers/spotlight/pages_helper_spec.rb +6 -1
  186. data/spec/helpers/spotlight/roles_helper_spec.rb +7 -0
  187. data/spec/internal/Gemfile +1 -1
  188. data/spec/internal/Gemfile.lock +34 -26
  189. data/spec/internal/app/assets/stylesheets/spotlight.css.scss +3 -3
  190. data/spec/internal/app/controllers/catalog_controller.rb +6 -5
  191. data/spec/internal/app/models/solr_document.rb +1 -0
  192. data/spec/internal/config/initializers/devise.rb +6 -6
  193. data/spec/internal/config/initializers/secret_token.rb +1 -1
  194. data/spec/internal/config/locales/devise.en.yml +1 -1
  195. data/spec/internal/db/development.sqlite3 +0 -0
  196. data/spec/internal/db/migrate/{20140213201424_devise_create_users.rb → 20140221181113_devise_create_users.rb} +0 -0
  197. data/spec/internal/db/migrate/{20140213201427_add_devise_guests_to_users.rb → 20140221181115_add_devise_guests_to_users.rb} +0 -0
  198. data/spec/internal/db/migrate/{20140213201428_create_searches.blacklight.rb → 20140221181117_create_searches.blacklight.rb} +0 -0
  199. data/spec/internal/db/migrate/{20140213201429_create_bookmarks.blacklight.rb → 20140221181118_create_bookmarks.blacklight.rb} +0 -0
  200. data/spec/internal/db/migrate/{20140213201430_create_spotlight_pages.spotlight.rb → 20140221181119_create_spotlight_pages.spotlight.rb} +2 -0
  201. data/spec/internal/db/migrate/{20140213201431_create_spotlight_attachments.spotlight.rb → 20140221181120_create_spotlight_attachments.spotlight.rb} +0 -0
  202. data/spec/internal/db/migrate/{20140213201432_create_exhibits.spotlight.rb → 20140221181121_create_exhibits.spotlight.rb} +0 -1
  203. data/spec/internal/db/migrate/{20140213201433_create_roles.spotlight.rb → 20140221181122_create_roles.spotlight.rb} +0 -0
  204. data/spec/internal/db/migrate/{20140213201434_create_spotlight_searches.spotlight.rb → 20140221181123_create_spotlight_searches.spotlight.rb} +0 -0
  205. data/spec/internal/db/migrate/{20140213201435_create_spotlight_blacklight_configurations.spotlight.rb → 20140221181124_create_spotlight_blacklight_configurations.spotlight.rb} +1 -0
  206. data/spec/internal/db/migrate/{20140213201436_acts_as_taggable_on_migration.spotlight.rb → 20140221181125_acts_as_taggable_on_migration.spotlight.rb} +0 -0
  207. data/spec/internal/db/migrate/{20140213201437_add_missing_unique_indices.spotlight.rb → 20140221181126_add_missing_unique_indices.spotlight.rb} +0 -0
  208. data/spec/internal/db/migrate/{20140213201438_create_spotlight_custom_fields.spotlight.rb → 20140221181127_create_spotlight_custom_fields.spotlight.rb} +0 -0
  209. data/spec/internal/db/migrate/{20140213201439_create_spotlight_solr_document_sidecars.spotlight.rb → 20140221181128_create_spotlight_solr_document_sidecars.spotlight.rb} +1 -0
  210. data/spec/internal/db/migrate/20140221181129_create_contacts.spotlight.rb +17 -0
  211. data/spec/internal/db/schema.rb +22 -5
  212. data/spec/internal/db/test.sqlite3 +0 -0
  213. data/spec/internal/log/development.log +122 -35398
  214. data/spec/internal/log/test.log +83150 -4800
  215. data/spec/internal/tmp/cache/assets/test/sass/7f56115890a28a29097cd3010106a2711cb6c5e4/spotlight.css.scssc +0 -0
  216. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_attachments.cssc +0 -0
  217. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_blacklight_configuration.css.scssc +0 -0
  218. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_bootstrap_overrides.css.scssc +0 -0
  219. data/spec/internal/tmp/cache/assets/{development/sass/86639965509c9318bb7a3137a93a669b1d159dac/browse.css.scssc → test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_browse.css.scssc} +0 -0
  220. data/spec/internal/tmp/cache/assets/{development/sass/86639965509c9318bb7a3137a93a669b1d159dac/catalog.css.scssc → test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_catalog.css.scssc} +0 -0
  221. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/{curation.css.scssc → _curation.css.scssc} +0 -0
  222. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_exhibit_admin.css.scssc +0 -0
  223. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_header.css.scssc +0 -0
  224. data/spec/internal/tmp/cache/assets/{development/sass/86639965509c9318bb7a3137a93a669b1d159dac/item_text_block.css.scssc → test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_item_text_block.css.scssc} +0 -0
  225. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_multi_up_item_grid.css.scssc +0 -0
  226. data/spec/internal/tmp/cache/assets/{development/sass/86639965509c9318bb7a3137a93a669b1d159dac/nestable.css.scssc → test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_nestable.css.scssc} +0 -0
  227. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_pages.css.scssc +0 -0
  228. data/spec/internal/tmp/cache/assets/{development/sass/86639965509c9318bb7a3137a93a669b1d159dac/sir-trevor.css.scssc → test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_sir-trevor.css.scssc} +0 -0
  229. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_variables.css.scssc +0 -0
  230. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/_variables_bootstrap.css.scssc +0 -0
  231. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/application.css.scssc +0 -0
  232. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/spotlight.css.scssc +0 -0
  233. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/typeahead.cssc +0 -0
  234. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_alerts.scssc +0 -0
  235. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_badges.scssc +0 -0
  236. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_breadcrumbs.scssc +0 -0
  237. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_button-groups.scssc +0 -0
  238. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_buttons.scssc +0 -0
  239. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_carousel.scssc +0 -0
  240. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_close.scssc +0 -0
  241. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_code.scssc +0 -0
  242. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_component-animations.scssc +0 -0
  243. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_dropdowns.scssc +0 -0
  244. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_forms.scssc +0 -0
  245. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_glyphicons.scssc +0 -0
  246. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_grid.scssc +0 -0
  247. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_input-groups.scssc +0 -0
  248. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_jumbotron.scssc +0 -0
  249. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_labels.scssc +0 -0
  250. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_list-group.scssc +0 -0
  251. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_media.scssc +0 -0
  252. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_mixins.scssc +0 -0
  253. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_modals.scssc +0 -0
  254. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_navbar.scssc +0 -0
  255. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_navs.scssc +0 -0
  256. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_normalize.scssc +0 -0
  257. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_pager.scssc +0 -0
  258. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_pagination.scssc +0 -0
  259. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_panels.scssc +0 -0
  260. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_popovers.scssc +0 -0
  261. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_print.scssc +0 -0
  262. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_progress-bars.scssc +0 -0
  263. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_responsive-utilities.scssc +0 -0
  264. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_scaffolding.scssc +0 -0
  265. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_tables.scssc +0 -0
  266. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_thumbnails.scssc +0 -0
  267. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_tooltip.scssc +0 -0
  268. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_type.scssc +0 -0
  269. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_utilities.scssc +0 -0
  270. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_variables.scssc +0 -0
  271. data/spec/internal/tmp/cache/assets/{development → test}/sass/9aa5ba0e61c914556d501a14beadbf084220afcb/_wells.scssc +0 -0
  272. data/spec/internal/tmp/cache/assets/{development → test}/sass/add70902996212745523bb1e74624dd2cf70530d/bootstrap.scssc +0 -0
  273. data/spec/internal/tmp/cache/assets/test/sprockets/054efbff0405a5e198004ac3654b2f8c +0 -0
  274. data/spec/internal/tmp/cache/assets/test/sprockets/057d1fa18bc0e1e5b993210f991d9fc8 +0 -0
  275. data/spec/internal/tmp/cache/assets/test/sprockets/087a79914d85e6b54d8988731ab53136 +0 -0
  276. data/spec/internal/tmp/cache/assets/test/sprockets/0a5222bec0ee683551455e74497afde4 +0 -0
  277. data/spec/internal/tmp/cache/assets/test/sprockets/0de3c377f7421a594ac39ed536b135b0 +0 -0
  278. data/spec/internal/tmp/cache/assets/test/sprockets/0deba0db9c30e052db9c6f78ae250989 +0 -0
  279. data/spec/internal/tmp/cache/assets/test/sprockets/11666b7929fdbd993ea80deada4c13b0 +0 -0
  280. data/spec/internal/tmp/cache/assets/test/sprockets/122bde84dd6cfb9aa6cbb3602c1aa0e9 +0 -0
  281. data/spec/internal/tmp/cache/assets/test/sprockets/13580606668b02852cd72a5ce6a46643 +0 -0
  282. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/13e2f6483c330b011c5ef96704ca89d8 +0 -0
  283. data/spec/internal/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  284. data/spec/internal/tmp/cache/assets/test/sprockets/18f05727080f01cd1f6107986e8ef8de +0 -0
  285. data/spec/internal/tmp/cache/assets/test/sprockets/20dce00b20c4d78820b1c3a4fe3e470f +0 -0
  286. data/spec/internal/tmp/cache/assets/test/sprockets/2144c89ce81d837cff269bddb07fb6e4 +0 -0
  287. data/spec/internal/tmp/cache/assets/test/sprockets/26edda560d842267070028189c2358e2 +0 -0
  288. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/2a70a592ba6d7d57ca175cc8ad18da46 +0 -0
  289. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/2b621825bca02aece2a68cd70e2548d8 +0 -0
  290. data/spec/internal/tmp/cache/assets/test/sprockets/2c77e85b70df92a428365a2e2ef71e2d +0 -0
  291. data/spec/internal/tmp/cache/assets/test/sprockets/2f1bbdc4330711863d62556043df25ce +0 -0
  292. data/spec/internal/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  293. data/spec/internal/tmp/cache/assets/test/sprockets/{57e88b9c9b3246e0554f88ee3f591d4d → 34a969e8d028e63ea897dd0448970032} +0 -0
  294. data/spec/internal/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  295. data/spec/internal/tmp/cache/assets/test/sprockets/3a47658debc1b4b58e2b0a9675dfae62 +0 -0
  296. data/spec/internal/tmp/cache/assets/test/sprockets/{d0a2147f9a3ad98a5d61e4fe80826414 → 3c88bbb1ab5d414e45a05492d34a7446} +0 -0
  297. data/spec/internal/tmp/cache/assets/test/sprockets/3e20d10c7725c27236abd61883a7b278 +0 -0
  298. data/spec/internal/tmp/cache/assets/test/sprockets/4173763ff20266fbf2b66c365cb2a6dd +0 -0
  299. data/spec/internal/tmp/cache/assets/test/sprockets/4386f0e27274e3cbdc32cee899d34b8f +0 -0
  300. data/spec/internal/tmp/cache/assets/test/sprockets/465dcb5120648b76bb827df45eebdd9d +0 -0
  301. data/spec/internal/tmp/cache/assets/test/sprockets/{5228747f20db13cd1842569a0b4d27a8 → 466aa53e9d282c855928b9250b3500a5} +0 -0
  302. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/49299b0178b94e64c5385b187f93f8ae +0 -0
  303. data/spec/internal/tmp/cache/assets/test/sprockets/492fec0ae7159743e989ed735aad6760 +0 -0
  304. data/spec/internal/tmp/cache/assets/test/sprockets/4b102e04198efe0f8b34684c1aaaeb20 +0 -0
  305. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/4b6c467c8a952dc209b93de3db64b70e +0 -0
  306. data/spec/internal/tmp/cache/assets/test/sprockets/4e055d70b47bbc80c9c9f847fc8f85d3 +0 -0
  307. data/spec/internal/tmp/cache/assets/test/sprockets/52582bfdd22ea0bbd52dd8d4b8c911c8 +0 -0
  308. data/spec/internal/tmp/cache/assets/test/sprockets/5ff35bebfd1fc0b7cbbbb6934664aa64 +0 -0
  309. data/spec/internal/tmp/cache/assets/test/sprockets/60cd9bb727eca8ae26fae3971cbdbb9c +0 -0
  310. data/spec/internal/tmp/cache/assets/test/sprockets/62083f335fc263942d5295bc5d6221c7 +0 -0
  311. data/spec/internal/tmp/cache/assets/test/sprockets/66f8fc3b5bbf1829a95239083e9abdb9 +0 -0
  312. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/6b0e9f093e56278364bd4d009fb1b616 +0 -0
  313. data/spec/internal/tmp/cache/assets/test/sprockets/6b1c6f740197f479421967fb560d6223 +0 -0
  314. data/spec/internal/tmp/cache/assets/test/sprockets/6b21caa94e0a49c6ea76f1e41d2ca0b6 +0 -0
  315. data/spec/internal/tmp/cache/assets/test/sprockets/6ce18a5894527091a2aad08be767698d +0 -0
  316. data/spec/internal/tmp/cache/assets/test/sprockets/{aa61c68149d34fa5b5400a154773c886 → 6eee23a91195076820a79a526476ee8c} +0 -0
  317. data/spec/internal/tmp/cache/assets/test/sprockets/73b5b050c5cf8578650b09cd0d7db81a +0 -0
  318. data/spec/internal/tmp/cache/assets/test/sprockets/7460c5bff9c90eb138ff07bf3afc71e3 +0 -0
  319. data/spec/internal/tmp/cache/assets/test/sprockets/753a88003982559e621f2a85daf6a9af +0 -0
  320. data/spec/internal/tmp/cache/assets/test/sprockets/75e4f388c794aa8cef95f173aea96959 +0 -0
  321. data/spec/internal/tmp/cache/assets/test/sprockets/76b56ee6205ef8ac8c5184e2fa6806de +0 -0
  322. data/spec/internal/tmp/cache/assets/test/sprockets/77276bb640746861bc705b385dc4380d +0 -0
  323. data/spec/internal/tmp/cache/assets/test/sprockets/8512b628be9256bf11745fdcf440920e +0 -0
  324. data/spec/internal/tmp/cache/assets/test/sprockets/8947a8a58b6f1f989ff707a4f0eb78e3 +0 -0
  325. data/spec/internal/tmp/cache/assets/test/sprockets/8b44de87380689cc74f57312141285b4 +0 -0
  326. data/spec/internal/tmp/cache/assets/test/sprockets/8c5e663a28a29017020ab8e026d92e73 +0 -0
  327. data/spec/internal/tmp/cache/assets/test/sprockets/8deb4f38d381b7e17e4b5fc69eedd3dd +0 -0
  328. data/spec/internal/tmp/cache/assets/test/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
  329. data/spec/internal/tmp/cache/assets/test/sprockets/96bca25fbc9dec9609aa66d126ab3823 +0 -0
  330. data/spec/internal/tmp/cache/assets/test/sprockets/9a2cad4366ab55e70eba881fcf1552b1 +0 -0
  331. data/spec/internal/tmp/cache/assets/test/sprockets/{acff8fdf260f75b731a2752cabe039a3 → 9b4bac0a273ca49886f42d20ec185004} +0 -0
  332. data/spec/internal/tmp/cache/assets/test/sprockets/{c7ee24d1047e051feebc455244c1200f → 9ccf3cbdf557d62704ebbea513022927} +0 -0
  333. data/spec/internal/tmp/cache/assets/test/sprockets/9dd494f69ac32c6f56e47c6d19cbfeff +0 -0
  334. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/9e4b79ac07879c1c4ba14894b70a4e88 +0 -0
  335. data/spec/internal/tmp/cache/assets/test/sprockets/9f32a258062b214af361daf3d953b05b +0 -0
  336. data/spec/internal/tmp/cache/assets/test/sprockets/9f454e9700fb058adcc4ff2f4b942f7b +0 -0
  337. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/a1f52a71d785eb6b6999258586a24cdd +0 -0
  338. data/spec/internal/tmp/cache/assets/test/sprockets/aabf26facf07694f96d71d93cc26ce81 +0 -0
  339. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/aadedf451867800a145094f7b39c92d1 +0 -0
  340. data/spec/internal/tmp/cache/assets/test/sprockets/ab478df1b6f86008ae8b1a3aedc231fd +0 -0
  341. data/spec/internal/tmp/cache/assets/test/sprockets/ac0fb5e24553f0b285079b44557622db +0 -0
  342. data/spec/internal/tmp/cache/assets/test/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
  343. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/afe869dd9f56adc45dcde67e2a78f705 +0 -0
  344. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/b3ad62055ddee4eb90ce04579c559c59 +0 -0
  345. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/b73e7d2467cd904898f6be8de100ca7b +0 -0
  346. data/spec/internal/tmp/cache/assets/test/sprockets/b98e31bc04d1ed8616c282ac7abaeb08 +0 -0
  347. data/spec/internal/tmp/cache/assets/test/sprockets/{4b14e90d11a9a4a3ff0863b3cdf28687 → b9abbec7207865e8b1cb8b62e7ab50ee} +0 -0
  348. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/bd9906e18e8f4ad0f019470629897007 +0 -0
  349. data/spec/internal/tmp/cache/assets/test/sprockets/{c909d76cfa3928bd1fed493d8bdc6785 → be6413b063439eb32c09b99a2051b8ef} +0 -0
  350. data/spec/internal/tmp/cache/assets/test/sprockets/bfaa34a06d842515b62459fff8158d1d +0 -0
  351. data/spec/internal/tmp/cache/assets/test/sprockets/{c2cbda4579459322ef12578211800342 → c4218e6c2ba493931d6b0776e05f2604} +0 -0
  352. data/spec/internal/tmp/cache/assets/test/sprockets/c50513d002aba38b2b0904d790e37b50 +0 -0
  353. data/spec/internal/tmp/cache/assets/test/sprockets/c74b16d8c717571f624df25996e212de +0 -0
  354. data/spec/internal/tmp/cache/assets/{development/sprockets/acff8fdf260f75b731a2752cabe039a3 → test/sprockets/ccd3a7fbbd99aab2b96da283b11810d9} +0 -0
  355. data/spec/internal/tmp/cache/assets/test/sprockets/cd921cf7a5ad637013b1b5458806a5fc +0 -0
  356. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/ce2989beb48b4f72141074aaff9a5632 +0 -0
  357. data/spec/internal/tmp/cache/assets/test/sprockets/ce93aed99191d5c22aef1ff1dcdc7652 +0 -0
  358. data/spec/internal/tmp/cache/assets/test/sprockets/{b97ba03780eebad80c1e4c8239432f66 → cf03a6e7cdd2c578d921d67e60bd4019} +0 -0
  359. data/spec/internal/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  360. data/spec/internal/tmp/cache/assets/test/sprockets/d2bcd182195dcc17cf37e34f033e7a9d +0 -0
  361. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/d30f3620f5ac1a79e3978fa3c79aa9cf +0 -0
  362. data/spec/internal/tmp/cache/assets/test/sprockets/{1ba4256ac293f73c2f4ccb863947876c → d320144e6ac54c385a9dcea63d0a5306} +0 -0
  363. data/spec/internal/tmp/cache/assets/test/sprockets/d48fbfc19c1c19a6d2a0ec6802a78910 +0 -0
  364. data/spec/internal/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  365. data/spec/internal/tmp/cache/assets/test/sprockets/da36589d32d68cb4dbc034abeb4dfaa1 +0 -0
  366. data/spec/internal/tmp/cache/assets/test/sprockets/daa447e7ba16e65115c70aa8f4917a72 +0 -0
  367. data/spec/internal/tmp/cache/assets/test/sprockets/de429a9a63459ff938dc61cfa8132e1a +0 -0
  368. data/spec/internal/tmp/cache/assets/test/sprockets/de9ed6afb0e682b5a30ba6aff82ca36e +0 -0
  369. data/spec/internal/tmp/cache/assets/test/sprockets/{9a207c2dc4675908fb5e7b4b9d0c2a3a → decaf2254ed78da1bb29c88d028094a1} +0 -0
  370. data/spec/internal/tmp/cache/assets/test/sprockets/e0108fdb199a846893e751e8ade11008 +0 -0
  371. data/spec/internal/tmp/cache/assets/test/sprockets/e04c118e777dd56f543a6a8a54767793 +0 -0
  372. data/spec/internal/tmp/cache/assets/test/sprockets/e0fd0f648fe28c705714a8d8d471da34 +0 -0
  373. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/ef6f922d772779f0aedd2f4c65d4818b +0 -0
  374. data/spec/internal/tmp/cache/assets/test/sprockets/f222566014403a9473b9070c5794db25 +0 -0
  375. data/spec/internal/tmp/cache/assets/test/sprockets/f3a6e2dee823280a647ae560378d930b +0 -0
  376. data/spec/internal/tmp/cache/assets/test/sprockets/f4c25cd6cc321289d096b41e14e7132f +0 -0
  377. data/spec/internal/tmp/cache/assets/test/sprockets/f585ec5c9bfe8ec5f58953e069929445 +0 -0
  378. data/spec/internal/tmp/cache/assets/test/sprockets/f5bd18eb7abe09f2bc76596dfbeec57b +0 -0
  379. data/spec/internal/tmp/cache/assets/test/sprockets/f69e5f5b9d68c91875c559643318e645 +0 -0
  380. data/spec/internal/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  381. data/spec/internal/tmp/cache/assets/{development → test}/sprockets/f81e343228388c74f5609d8128515c7a +0 -0
  382. data/spec/internal/tmp/cache/assets/test/sprockets/{f13d5a17eadce75c7d236c2038c90450 → fae75d9f76d5384917bc0a1a5e4c94ae} +0 -0
  383. data/spec/internal/tmp/cache/assets/test/sprockets/{ac6e1c3ef7e45f031205e1aae63145d4 → fec01208bcd5a95a4dfc3a28c941dc3d} +0 -0
  384. data/spec/internal/tmp/cache/assets/test/sprockets/fed43bc1912cdb19dfa4ab32cf796814 +0 -0
  385. data/spec/lib/spotlight/catalog/access_controls_enforcement_spec.rb +35 -0
  386. data/spec/models/solr_document_spec.rb +70 -0
  387. data/spec/models/spotlight/ability_spec.rb +9 -6
  388. data/spec/models/spotlight/blacklight_configuration_spec.rb +9 -9
  389. data/spec/models/spotlight/custom_field_spec.rb +2 -2
  390. data/spec/models/spotlight/exhibit_spec.rb +10 -1
  391. data/spec/models/spotlight/home_page_spec.rb +14 -0
  392. data/spec/models/spotlight/page_spec.rb +8 -1
  393. data/spec/models/spotlight/role_spec.rb +4 -4
  394. data/spec/models/spotlight/solr_document_atomic_updates_spec.rb +29 -0
  395. data/spec/models/spotlight/solr_document_sidecar_spec.rb +19 -0
  396. data/spec/spec_helper.rb +2 -0
  397. data/spec/support/views/test_view_helpers.rb +12 -0
  398. data/spec/test_app_templates/catalog_controller.rb +6 -5
  399. data/spec/views/_user_util_links.html.erb_spec.rb +9 -10
  400. data/spec/views/shared/_exhibit_masthead.html.erb_spec.rb +4 -4
  401. data/spec/views/spotlight/about_pages/index.html.erb_spec.rb +57 -0
  402. data/spec/views/spotlight/catalog/_edit_default.html.erb_spec.rb +20 -0
  403. data/spec/views/spotlight/pages/index.html.erb_spec.rb +1 -2
  404. data/spec/views/spotlight/pages/show.html.erb_spec.rb +10 -18
  405. data/spec/views/spotlight/roles/index.html.erb_spec.rb +2 -2
  406. data/spec/views/spotlight/searches/index.html.erb_spec.rb +1 -1
  407. data/spec/views/spotlight/tags/index.html.erb_spec.rb +5 -4
  408. metadata +332 -761
  409. data/app/assets/stylesheets/scaffold.css +0 -56
  410. data/app/assets/stylesheets/spotlight/blacklight_configuration.css.scss +0 -6
  411. data/app/assets/stylesheets/spotlight/header.css.scss +0 -15
  412. data/app/assets/stylesheets/spotlight/pages.css +0 -4
  413. data/spec/internal/tmp/cache/assets/development/sass/57c0d7bcb994fdcd2936438bb30ba7a791220a90/default.css.scssc +0 -0
  414. data/spec/internal/tmp/cache/assets/development/sass/7f56115890a28a29097cd3010106a2711cb6c5e4/blacklight.css.scssc +0 -0
  415. data/spec/internal/tmp/cache/assets/development/sass/7f56115890a28a29097cd3010106a2711cb6c5e4/spotlight.css.scssc +0 -0
  416. data/spec/internal/tmp/cache/assets/development/sass/86639965509c9318bb7a3137a93a669b1d159dac/blacklight_configuration.css.scssc +0 -0
  417. data/spec/internal/tmp/cache/assets/development/sass/86639965509c9318bb7a3137a93a669b1d159dac/curation.css.scssc +0 -0
  418. data/spec/internal/tmp/cache/assets/development/sass/86639965509c9318bb7a3137a93a669b1d159dac/header.css.scssc +0 -0
  419. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/_blacklight_base.css.scssc +0 -0
  420. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/_bookmark.css.scssc +0 -0
  421. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/_catalog.css.scssc +0 -0
  422. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/_facets.css.scssc +0 -0
  423. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/_group.css.scssc +0 -0
  424. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/_header.css.scssc +0 -0
  425. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/_layout.css.scssc +0 -0
  426. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/_modal.css.scssc +0 -0
  427. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/_search_history.css.scssc +0 -0
  428. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/blacklight.css.scssc +0 -0
  429. data/spec/internal/tmp/cache/assets/development/sass/fe461ec1fef5f7b5460a18cf89af0d9e44b695ec/blacklight_defaults.css.scssc +0 -0
  430. data/spec/internal/tmp/cache/assets/development/sprockets/020433d97e0b9e19255798dc28f4db88 +0 -0
  431. data/spec/internal/tmp/cache/assets/development/sprockets/057d1fa18bc0e1e5b993210f991d9fc8 +0 -0
  432. data/spec/internal/tmp/cache/assets/development/sprockets/087a79914d85e6b54d8988731ab53136 +0 -0
  433. data/spec/internal/tmp/cache/assets/development/sprockets/0b12706b4ffe7ebe13430c6ee443b2dd +0 -0
  434. data/spec/internal/tmp/cache/assets/development/sprockets/0cad22d181614fbdca755e591be6fa1c +0 -0
  435. data/spec/internal/tmp/cache/assets/development/sprockets/0de3c377f7421a594ac39ed536b135b0 +0 -0
  436. data/spec/internal/tmp/cache/assets/development/sprockets/0deba0db9c30e052db9c6f78ae250989 +0 -0
  437. data/spec/internal/tmp/cache/assets/development/sprockets/0f29c03cb39fa538a2df9dbbbe655532 +0 -0
  438. data/spec/internal/tmp/cache/assets/development/sprockets/108ed3acf1cababc3ccda6af2a4fdca6 +0 -0
  439. data/spec/internal/tmp/cache/assets/development/sprockets/10ef327683798892b9938cabd394498c +0 -0
  440. data/spec/internal/tmp/cache/assets/development/sprockets/11666b7929fdbd993ea80deada4c13b0 +0 -0
  441. data/spec/internal/tmp/cache/assets/development/sprockets/122bde84dd6cfb9aa6cbb3602c1aa0e9 +0 -0
  442. data/spec/internal/tmp/cache/assets/development/sprockets/13580606668b02852cd72a5ce6a46643 +0 -0
  443. data/spec/internal/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  444. data/spec/internal/tmp/cache/assets/development/sprockets/1465aad16206b571e00aa82a16e36380 +0 -0
  445. data/spec/internal/tmp/cache/assets/development/sprockets/153e55a308813e3c473924a6ef251a76 +0 -0
  446. data/spec/internal/tmp/cache/assets/development/sprockets/18f05727080f01cd1f6107986e8ef8de +0 -0
  447. data/spec/internal/tmp/cache/assets/development/sprockets/20e76a31193186a7494d2e61c38cf2d3 +0 -0
  448. data/spec/internal/tmp/cache/assets/development/sprockets/2144c89ce81d837cff269bddb07fb6e4 +0 -0
  449. data/spec/internal/tmp/cache/assets/development/sprockets/256cc8416ea684247fa8bca805832755 +0 -0
  450. data/spec/internal/tmp/cache/assets/development/sprockets/26edda560d842267070028189c2358e2 +0 -0
  451. data/spec/internal/tmp/cache/assets/development/sprockets/2c77e85b70df92a428365a2e2ef71e2d +0 -0
  452. data/spec/internal/tmp/cache/assets/development/sprockets/2f1bbdc4330711863d62556043df25ce +0 -0
  453. data/spec/internal/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  454. data/spec/internal/tmp/cache/assets/development/sprockets/3202b90ab287ed956815ada8e064f767 +0 -0
  455. data/spec/internal/tmp/cache/assets/development/sprockets/324e7f183c594151b026cdc2948523bf +0 -0
  456. data/spec/internal/tmp/cache/assets/development/sprockets/332967fa31cdb1c3f0cabda88513c804 +0 -0
  457. data/spec/internal/tmp/cache/assets/development/sprockets/35179c918031f248f1f4cfb7d34351c4 +0 -0
  458. data/spec/internal/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  459. data/spec/internal/tmp/cache/assets/development/sprockets/35a01c09c4d54e3266a6a0f2851f1170 +0 -0
  460. data/spec/internal/tmp/cache/assets/development/sprockets/3a47658debc1b4b58e2b0a9675dfae62 +0 -0
  461. data/spec/internal/tmp/cache/assets/development/sprockets/3d78032df3433b99d2d5efc52b70e453 +0 -0
  462. data/spec/internal/tmp/cache/assets/development/sprockets/3dfa48bce28fb99bb32fefa7fffb0119 +0 -0
  463. data/spec/internal/tmp/cache/assets/development/sprockets/3e20d10c7725c27236abd61883a7b278 +0 -0
  464. data/spec/internal/tmp/cache/assets/development/sprockets/3f20b06a462f55b145c6d83634eae845 +0 -0
  465. data/spec/internal/tmp/cache/assets/development/sprockets/3fdb803db911d9debde5f28b188a5b16 +0 -0
  466. data/spec/internal/tmp/cache/assets/development/sprockets/40e815fac05844d0530af8a8c5339fe1 +0 -0
  467. data/spec/internal/tmp/cache/assets/development/sprockets/4173763ff20266fbf2b66c365cb2a6dd +0 -0
  468. data/spec/internal/tmp/cache/assets/development/sprockets/4386f0e27274e3cbdc32cee899d34b8f +0 -0
  469. data/spec/internal/tmp/cache/assets/development/sprockets/465dcb5120648b76bb827df45eebdd9d +0 -0
  470. data/spec/internal/tmp/cache/assets/development/sprockets/466aa53e9d282c855928b9250b3500a5 +0 -0
  471. data/spec/internal/tmp/cache/assets/development/sprockets/46dc001d1309090c6b365c364fdaa26a +0 -0
  472. data/spec/internal/tmp/cache/assets/development/sprockets/492fec0ae7159743e989ed735aad6760 +0 -0
  473. data/spec/internal/tmp/cache/assets/development/sprockets/4b102e04198efe0f8b34684c1aaaeb20 +0 -0
  474. data/spec/internal/tmp/cache/assets/development/sprockets/4b14e90d11a9a4a3ff0863b3cdf28687 +0 -0
  475. data/spec/internal/tmp/cache/assets/development/sprockets/4e055d70b47bbc80c9c9f847fc8f85d3 +0 -0
  476. data/spec/internal/tmp/cache/assets/development/sprockets/4ea47b50d05ede7e20ba33f8056f4a92 +0 -0
  477. data/spec/internal/tmp/cache/assets/development/sprockets/51d4b55d07202445539423ccb62e8058 +0 -0
  478. data/spec/internal/tmp/cache/assets/development/sprockets/52582bfdd22ea0bbd52dd8d4b8c911c8 +0 -0
  479. data/spec/internal/tmp/cache/assets/development/sprockets/53a4fa5b7759f81cdd42e23e9948afea +0 -0
  480. data/spec/internal/tmp/cache/assets/development/sprockets/550485ff32af8939032a9bd5267c51c6 +0 -0
  481. data/spec/internal/tmp/cache/assets/development/sprockets/56653f30daec26f700bcf6b7d993f663 +0 -0
  482. data/spec/internal/tmp/cache/assets/development/sprockets/57dd4ba72cf24cc3ddefc29a90d21e7c +0 -0
  483. data/spec/internal/tmp/cache/assets/development/sprockets/57e88b9c9b3246e0554f88ee3f591d4d +0 -0
  484. data/spec/internal/tmp/cache/assets/development/sprockets/5993cd28ea23f1006aa97d1fafe3bd1a +0 -0
  485. data/spec/internal/tmp/cache/assets/development/sprockets/5b41e13874b2142f1ec2ed104f78ff91 +0 -0
  486. data/spec/internal/tmp/cache/assets/development/sprockets/5d366dc18b9d993e45b25bbeebd193f8 +0 -0
  487. data/spec/internal/tmp/cache/assets/development/sprockets/60670f464c5599c5372232b4572eb0e7 +0 -0
  488. data/spec/internal/tmp/cache/assets/development/sprockets/61bd95bd5682421c2fe95a5214946dd6 +0 -0
  489. data/spec/internal/tmp/cache/assets/development/sprockets/62083f335fc263942d5295bc5d6221c7 +0 -0
  490. data/spec/internal/tmp/cache/assets/development/sprockets/63b98246f4f05488e1b5914b796db489 +0 -0
  491. data/spec/internal/tmp/cache/assets/development/sprockets/650cfc75104b1583a6fa2ea130eee6ea +0 -0
  492. data/spec/internal/tmp/cache/assets/development/sprockets/66f8fc3b5bbf1829a95239083e9abdb9 +0 -0
  493. data/spec/internal/tmp/cache/assets/development/sprockets/670abadd46e1a2d1f20041e240b70d14 +0 -0
  494. data/spec/internal/tmp/cache/assets/development/sprockets/6a42dcaaa4f99c5d69e6cd0d0b1fb4c9 +0 -0
  495. data/spec/internal/tmp/cache/assets/development/sprockets/6b1c6f740197f479421967fb560d6223 +0 -0
  496. data/spec/internal/tmp/cache/assets/development/sprockets/6b21caa94e0a49c6ea76f1e41d2ca0b6 +0 -0
  497. data/spec/internal/tmp/cache/assets/development/sprockets/6b9e4455a0b79827fa5395c06e938545 +0 -0
  498. data/spec/internal/tmp/cache/assets/development/sprockets/6ce18a5894527091a2aad08be767698d +0 -0
  499. data/spec/internal/tmp/cache/assets/development/sprockets/6d03c8cc881b762d46baa13fc04db6ff +0 -0
  500. data/spec/internal/tmp/cache/assets/development/sprockets/6eee23a91195076820a79a526476ee8c +0 -0
  501. data/spec/internal/tmp/cache/assets/development/sprockets/6f8b7495883fbcbe020c22a1df084241 +0 -0
  502. data/spec/internal/tmp/cache/assets/development/sprockets/717c3ff6985bb426be696c09647ea562 +0 -0
  503. data/spec/internal/tmp/cache/assets/development/sprockets/730de8c54ddfc7e25170a3e4040cd162 +0 -0
  504. data/spec/internal/tmp/cache/assets/development/sprockets/73b5b050c5cf8578650b09cd0d7db81a +0 -0
  505. data/spec/internal/tmp/cache/assets/development/sprockets/7460c5bff9c90eb138ff07bf3afc71e3 +0 -0
  506. data/spec/internal/tmp/cache/assets/development/sprockets/753a88003982559e621f2a85daf6a9af +0 -0
  507. data/spec/internal/tmp/cache/assets/development/sprockets/76b56ee6205ef8ac8c5184e2fa6806de +0 -0
  508. data/spec/internal/tmp/cache/assets/development/sprockets/77276bb640746861bc705b385dc4380d +0 -0
  509. data/spec/internal/tmp/cache/assets/development/sprockets/783d14d9eadc1bc65bfee63e01fe48bf +0 -0
  510. data/spec/internal/tmp/cache/assets/development/sprockets/7a27f5274b6ff4a9da4802de5e0ce100 +0 -0
  511. data/spec/internal/tmp/cache/assets/development/sprockets/7b9996a94cec146a5c7e9bf95c80737a +0 -0
  512. data/spec/internal/tmp/cache/assets/development/sprockets/7bf9acc825022f0424cd4ccfb51a57b8 +0 -0
  513. data/spec/internal/tmp/cache/assets/development/sprockets/8512b628be9256bf11745fdcf440920e +0 -0
  514. data/spec/internal/tmp/cache/assets/development/sprockets/86a76437386eeac88713cc514abf0f93 +0 -0
  515. data/spec/internal/tmp/cache/assets/development/sprockets/86cdeea552858d068703405a7ba2ee3a +0 -0
  516. data/spec/internal/tmp/cache/assets/development/sprockets/86f7ebf96f33e1cc035b7b2236bd2b90 +0 -0
  517. data/spec/internal/tmp/cache/assets/development/sprockets/886ce70326f2caec8fe4372351f1a442 +0 -0
  518. data/spec/internal/tmp/cache/assets/development/sprockets/8947a8a58b6f1f989ff707a4f0eb78e3 +0 -0
  519. data/spec/internal/tmp/cache/assets/development/sprockets/8b44de87380689cc74f57312141285b4 +0 -0
  520. data/spec/internal/tmp/cache/assets/development/sprockets/8c5e663a28a29017020ab8e026d92e73 +0 -0
  521. data/spec/internal/tmp/cache/assets/development/sprockets/8deb4f38d381b7e17e4b5fc69eedd3dd +0 -0
  522. data/spec/internal/tmp/cache/assets/development/sprockets/91b396b480293aaeec2ff599af929465 +0 -0
  523. data/spec/internal/tmp/cache/assets/development/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
  524. data/spec/internal/tmp/cache/assets/development/sprockets/9511867a1b82cbfed0061f63b2e617a7 +0 -0
  525. data/spec/internal/tmp/cache/assets/development/sprockets/9568e100715de196f3ccf3adb695e3ba +0 -0
  526. data/spec/internal/tmp/cache/assets/development/sprockets/96bca25fbc9dec9609aa66d126ab3823 +0 -0
  527. data/spec/internal/tmp/cache/assets/development/sprockets/96e7e7eb64a9f03bbdbe401f2995b52c +0 -0
  528. data/spec/internal/tmp/cache/assets/development/sprockets/976c2035643c83ca56d4945c1302cc5e +0 -0
  529. data/spec/internal/tmp/cache/assets/development/sprockets/9a207c2dc4675908fb5e7b4b9d0c2a3a +0 -0
  530. data/spec/internal/tmp/cache/assets/development/sprockets/9a2cad4366ab55e70eba881fcf1552b1 +0 -0
  531. data/spec/internal/tmp/cache/assets/development/sprockets/9cad4327e714920ec27afae484c96b22 +0 -0
  532. data/spec/internal/tmp/cache/assets/development/sprockets/9dd494f69ac32c6f56e47c6d19cbfeff +0 -0
  533. data/spec/internal/tmp/cache/assets/development/sprockets/9e6c76356f7694394b10604dff4d4075 +0 -0
  534. data/spec/internal/tmp/cache/assets/development/sprockets/9f32a258062b214af361daf3d953b05b +0 -0
  535. data/spec/internal/tmp/cache/assets/development/sprockets/9f454e9700fb058adcc4ff2f4b942f7b +0 -0
  536. data/spec/internal/tmp/cache/assets/development/sprockets/a0c35895c526b4a7bec46d5e2f5e90f9 +0 -0
  537. data/spec/internal/tmp/cache/assets/development/sprockets/a3307b2a172bd713b45e8e117c3a5939 +0 -0
  538. data/spec/internal/tmp/cache/assets/development/sprockets/a3446e3a0bd1231348be22f347f96630 +0 -0
  539. data/spec/internal/tmp/cache/assets/development/sprockets/aabf26facf07694f96d71d93cc26ce81 +0 -0
  540. data/spec/internal/tmp/cache/assets/development/sprockets/ac0fb5e24553f0b285079b44557622db +0 -0
  541. data/spec/internal/tmp/cache/assets/development/sprockets/ac6714823758e543a1efc28facf9abeb +0 -0
  542. data/spec/internal/tmp/cache/assets/development/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
  543. data/spec/internal/tmp/cache/assets/development/sprockets/af8b3a00207d464e6c690a8293592ef7 +0 -0
  544. data/spec/internal/tmp/cache/assets/development/sprockets/b6692f203a568a6b0cb01b4d09139c2f +0 -0
  545. data/spec/internal/tmp/cache/assets/development/sprockets/b8e7ee01850e17fbb705e088d18c8a00 +0 -0
  546. data/spec/internal/tmp/cache/assets/development/sprockets/b98e31bc04d1ed8616c282ac7abaeb08 +0 -0
  547. data/spec/internal/tmp/cache/assets/development/sprockets/be6413b063439eb32c09b99a2051b8ef +0 -0
  548. data/spec/internal/tmp/cache/assets/development/sprockets/bfaa34a06d842515b62459fff8158d1d +0 -0
  549. data/spec/internal/tmp/cache/assets/development/sprockets/c2cbda4579459322ef12578211800342 +0 -0
  550. data/spec/internal/tmp/cache/assets/development/sprockets/c6690cb202676be0a09efaa3d85662d2 +0 -0
  551. data/spec/internal/tmp/cache/assets/development/sprockets/c6f0a6faa37bb5c912531e7cbe0bea5f +0 -0
  552. data/spec/internal/tmp/cache/assets/development/sprockets/c74b16d8c717571f624df25996e212de +0 -0
  553. data/spec/internal/tmp/cache/assets/development/sprockets/c7ee24d1047e051feebc455244c1200f +0 -0
  554. data/spec/internal/tmp/cache/assets/development/sprockets/c899cd58f2fc8f305350a26623340c88 +0 -0
  555. data/spec/internal/tmp/cache/assets/development/sprockets/c9ec3d06afb2cfe440a080eb40c05b2e +0 -0
  556. data/spec/internal/tmp/cache/assets/development/sprockets/cd921cf7a5ad637013b1b5458806a5fc +0 -0
  557. data/spec/internal/tmp/cache/assets/development/sprockets/ce93aed99191d5c22aef1ff1dcdc7652 +0 -0
  558. data/spec/internal/tmp/cache/assets/development/sprockets/cf03a6e7cdd2c578d921d67e60bd4019 +0 -0
  559. data/spec/internal/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  560. data/spec/internal/tmp/cache/assets/development/sprockets/d0a2147f9a3ad98a5d61e4fe80826414 +0 -0
  561. data/spec/internal/tmp/cache/assets/development/sprockets/d1513885df939f849f36ba2c2b40b3ee +0 -0
  562. data/spec/internal/tmp/cache/assets/development/sprockets/d159c53e21e1a9039d3106b36b84ac92 +0 -0
  563. data/spec/internal/tmp/cache/assets/development/sprockets/d2bcd182195dcc17cf37e34f033e7a9d +0 -0
  564. data/spec/internal/tmp/cache/assets/development/sprockets/d2f961e197eaad76ce92a0ddb9ade818 +0 -0
  565. data/spec/internal/tmp/cache/assets/development/sprockets/d320144e6ac54c385a9dcea63d0a5306 +0 -0
  566. data/spec/internal/tmp/cache/assets/development/sprockets/d48fbfc19c1c19a6d2a0ec6802a78910 +0 -0
  567. data/spec/internal/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  568. data/spec/internal/tmp/cache/assets/development/sprockets/d84569cdd916cc8a606b235e12dc4793 +0 -0
  569. data/spec/internal/tmp/cache/assets/development/sprockets/da36589d32d68cb4dbc034abeb4dfaa1 +0 -0
  570. data/spec/internal/tmp/cache/assets/development/sprockets/daa447e7ba16e65115c70aa8f4917a72 +0 -0
  571. data/spec/internal/tmp/cache/assets/development/sprockets/dd7def17774f007f6c49539c79e9dc7e +0 -0
  572. data/spec/internal/tmp/cache/assets/development/sprockets/de429a9a63459ff938dc61cfa8132e1a +0 -0
  573. data/spec/internal/tmp/cache/assets/development/sprockets/de9ed6afb0e682b5a30ba6aff82ca36e +0 -0
  574. data/spec/internal/tmp/cache/assets/development/sprockets/e0108fdb199a846893e751e8ade11008 +0 -0
  575. data/spec/internal/tmp/cache/assets/development/sprockets/e0343b5d999cf24f7fb6871b145d3368 +0 -0
  576. data/spec/internal/tmp/cache/assets/development/sprockets/e04c118e777dd56f543a6a8a54767793 +0 -0
  577. data/spec/internal/tmp/cache/assets/development/sprockets/e0fd0f648fe28c705714a8d8d471da34 +0 -0
  578. data/spec/internal/tmp/cache/assets/development/sprockets/e1b7ccff7b73993818ad0cab86fff97d +0 -0
  579. data/spec/internal/tmp/cache/assets/development/sprockets/e2e09ef3ca7aa04271903297c8b46709 +0 -0
  580. data/spec/internal/tmp/cache/assets/development/sprockets/e4251d23cee721c0a7eb4cc0fe07cadc +0 -0
  581. data/spec/internal/tmp/cache/assets/development/sprockets/e739e484ef94690df17455376937d2c1 +0 -0
  582. data/spec/internal/tmp/cache/assets/development/sprockets/e8b1266944f0354589afb643cdd3bdc6 +0 -0
  583. data/spec/internal/tmp/cache/assets/development/sprockets/e9e44b6079373b069019c281695a79f5 +0 -0
  584. data/spec/internal/tmp/cache/assets/development/sprockets/eb716711c01f005bf1ad7c050e48398a +0 -0
  585. data/spec/internal/tmp/cache/assets/development/sprockets/ebeec19a4495d8c78cc4ac91c7c9eca8 +0 -0
  586. data/spec/internal/tmp/cache/assets/development/sprockets/ed390939daa39d7aae30ce3795b34a1f +0 -0
  587. data/spec/internal/tmp/cache/assets/development/sprockets/ef4afa2365308566e3c0e19dc2c61fcb +0 -0
  588. data/spec/internal/tmp/cache/assets/development/sprockets/f11ec04ecc208d593196164abd49d6f3 +0 -0
  589. data/spec/internal/tmp/cache/assets/development/sprockets/f222566014403a9473b9070c5794db25 +0 -0
  590. data/spec/internal/tmp/cache/assets/development/sprockets/f29a5a07e82cde486d7f9f9296a036e7 +0 -0
  591. data/spec/internal/tmp/cache/assets/development/sprockets/f3a6e2dee823280a647ae560378d930b +0 -0
  592. data/spec/internal/tmp/cache/assets/development/sprockets/f4c25cd6cc321289d096b41e14e7132f +0 -0
  593. data/spec/internal/tmp/cache/assets/development/sprockets/f585ec5c9bfe8ec5f58953e069929445 +0 -0
  594. data/spec/internal/tmp/cache/assets/development/sprockets/f5a0a8a0c2c09f173355e6627a1d8c30 +0 -0
  595. data/spec/internal/tmp/cache/assets/development/sprockets/f5bd18eb7abe09f2bc76596dfbeec57b +0 -0
  596. data/spec/internal/tmp/cache/assets/development/sprockets/f69e5f5b9d68c91875c559643318e645 +0 -0
  597. data/spec/internal/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  598. data/spec/internal/tmp/cache/assets/development/sprockets/fae75d9f76d5384917bc0a1a5e4c94ae +0 -0
  599. data/spec/internal/tmp/cache/assets/development/sprockets/fec01208bcd5a95a4dfc3a28c941dc3d +0 -0
  600. data/spec/internal/tmp/cache/assets/development/sprockets/fed43bc1912cdb19dfa4ab32cf796814 +0 -0
  601. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_alerts.scssc +0 -0
  602. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_badges.scssc +0 -0
  603. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_breadcrumbs.scssc +0 -0
  604. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_button-groups.scssc +0 -0
  605. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_buttons.scssc +0 -0
  606. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_carousel.scssc +0 -0
  607. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_close.scssc +0 -0
  608. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_code.scssc +0 -0
  609. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_component-animations.scssc +0 -0
  610. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_dropdowns.scssc +0 -0
  611. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_forms.scssc +0 -0
  612. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_glyphicons.scssc +0 -0
  613. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_grid.scssc +0 -0
  614. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_input-groups.scssc +0 -0
  615. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_jumbotron.scssc +0 -0
  616. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_labels.scssc +0 -0
  617. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_list-group.scssc +0 -0
  618. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_media.scssc +0 -0
  619. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_mixins.scssc +0 -0
  620. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_modals.scssc +0 -0
  621. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_navbar.scssc +0 -0
  622. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_navs.scssc +0 -0
  623. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_normalize.scssc +0 -0
  624. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_pager.scssc +0 -0
  625. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_pagination.scssc +0 -0
  626. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_panels.scssc +0 -0
  627. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_popovers.scssc +0 -0
  628. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_print.scssc +0 -0
  629. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_progress-bars.scssc +0 -0
  630. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_responsive-utilities.scssc +0 -0
  631. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_scaffolding.scssc +0 -0
  632. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_tables.scssc +0 -0
  633. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_thumbnails.scssc +0 -0
  634. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_tooltip.scssc +0 -0
  635. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_type.scssc +0 -0
  636. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_utilities.scssc +0 -0
  637. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_variables.scssc +0 -0
  638. data/spec/internal/tmp/cache/assets/test/sass/27e2a5f741cb5b305187fb9f60bd54cbad191cee/_wells.scssc +0 -0
  639. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/blacklight_configuration.css.scssc +0 -0
  640. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/browse.css.scssc +0 -0
  641. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/catalog.css.scssc +0 -0
  642. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/header.css.scssc +0 -0
  643. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/item_text_block.css.scssc +0 -0
  644. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/nestable.css.scssc +0 -0
  645. data/spec/internal/tmp/cache/assets/test/sass/86639965509c9318bb7a3137a93a669b1d159dac/sir-trevor.css.scssc +0 -0
  646. data/spec/internal/tmp/cache/assets/test/sass/ea576b86ea8d24c041d74febb5a2299daa5eebfa/bootstrap.scssc +0 -0
  647. data/spec/internal/tmp/cache/assets/test/sprockets/10ef327683798892b9938cabd394498c +0 -0
  648. data/spec/internal/tmp/cache/assets/test/sprockets/153e55a308813e3c473924a6ef251a76 +0 -0
  649. data/spec/internal/tmp/cache/assets/test/sprockets/1f7f2566a4c6697102847e0b791ea7e2 +0 -0
  650. data/spec/internal/tmp/cache/assets/test/sprockets/256cc8416ea684247fa8bca805832755 +0 -0
  651. data/spec/internal/tmp/cache/assets/test/sprockets/2cf9505aa610540803440d6b85d1df4c +0 -0
  652. data/spec/internal/tmp/cache/assets/test/sprockets/3202b90ab287ed956815ada8e064f767 +0 -0
  653. data/spec/internal/tmp/cache/assets/test/sprockets/33956f5ff4216b0f576e7981f128d2cd +0 -0
  654. data/spec/internal/tmp/cache/assets/test/sprockets/4cf0d8cc5428d7570587b142bcde94d6 +0 -0
  655. data/spec/internal/tmp/cache/assets/test/sprockets/4ea47b50d05ede7e20ba33f8056f4a92 +0 -0
  656. data/spec/internal/tmp/cache/assets/test/sprockets/53a4fa5b7759f81cdd42e23e9948afea +0 -0
  657. data/spec/internal/tmp/cache/assets/test/sprockets/56653f30daec26f700bcf6b7d993f663 +0 -0
  658. data/spec/internal/tmp/cache/assets/test/sprockets/5a7a1e01b0babb2c7ccaa77e11566f48 +0 -0
  659. data/spec/internal/tmp/cache/assets/test/sprockets/5b41e13874b2142f1ec2ed104f78ff91 +0 -0
  660. data/spec/internal/tmp/cache/assets/test/sprockets/5d366dc18b9d993e45b25bbeebd193f8 +0 -0
  661. data/spec/internal/tmp/cache/assets/test/sprockets/61bd95bd5682421c2fe95a5214946dd6 +0 -0
  662. data/spec/internal/tmp/cache/assets/test/sprockets/6b9e4455a0b79827fa5395c06e938545 +0 -0
  663. data/spec/internal/tmp/cache/assets/test/sprockets/6d5dfd8ac2dccc266426bb5ebb16da5d +0 -0
  664. data/spec/internal/tmp/cache/assets/test/sprockets/717c3ff6985bb426be696c09647ea562 +0 -0
  665. data/spec/internal/tmp/cache/assets/test/sprockets/76e68eadc18148bbc7404e36afe94d1b +0 -0
  666. data/spec/internal/tmp/cache/assets/test/sprockets/7a27f5274b6ff4a9da4802de5e0ce100 +0 -0
  667. data/spec/internal/tmp/cache/assets/test/sprockets/7b9996a94cec146a5c7e9bf95c80737a +0 -0
  668. data/spec/internal/tmp/cache/assets/test/sprockets/7e0b25e99e03df931c2f96f1823fe85a +0 -0
  669. data/spec/internal/tmp/cache/assets/test/sprockets/81cd00ea178ccdbc398f57bc2559dd84 +0 -0
  670. data/spec/internal/tmp/cache/assets/test/sprockets/86cdeea552858d068703405a7ba2ee3a +0 -0
  671. data/spec/internal/tmp/cache/assets/test/sprockets/886ce70326f2caec8fe4372351f1a442 +0 -0
  672. data/spec/internal/tmp/cache/assets/test/sprockets/8dc5fbd0f77eea2d1b3af6024a707b3f +0 -0
  673. data/spec/internal/tmp/cache/assets/test/sprockets/9511867a1b82cbfed0061f63b2e617a7 +0 -0
  674. data/spec/internal/tmp/cache/assets/test/sprockets/96e7e7eb64a9f03bbdbe401f2995b52c +0 -0
  675. data/spec/internal/tmp/cache/assets/test/sprockets/ad403febe269392f688fa500dee79cc1 +0 -0
  676. data/spec/internal/tmp/cache/assets/test/sprockets/af41b8abd81fca7235ff2f5eea101ec7 +0 -0
  677. data/spec/internal/tmp/cache/assets/test/sprockets/ba43150632c4d28c3f29f0e8ec38388b +0 -0
  678. data/spec/internal/tmp/cache/assets/test/sprockets/c48e1de96b94e0a601109e1f864b1408 +0 -0
  679. data/spec/internal/tmp/cache/assets/test/sprockets/c6690cb202676be0a09efaa3d85662d2 +0 -0
  680. data/spec/internal/tmp/cache/assets/test/sprockets/c82663bc8a8378e410d7c672b13737c6 +0 -0
  681. data/spec/internal/tmp/cache/assets/test/sprockets/c899cd58f2fc8f305350a26623340c88 +0 -0
  682. data/spec/internal/tmp/cache/assets/test/sprockets/c9ec3d06afb2cfe440a080eb40c05b2e +0 -0
  683. data/spec/internal/tmp/cache/assets/test/sprockets/d08c1375edaded78b3606c7b4af63b4c +0 -0
  684. data/spec/internal/tmp/cache/assets/test/sprockets/d1513885df939f849f36ba2c2b40b3ee +0 -0
  685. data/spec/internal/tmp/cache/assets/test/sprockets/d2f961e197eaad76ce92a0ddb9ade818 +0 -0
  686. data/spec/internal/tmp/cache/assets/test/sprockets/e0343b5d999cf24f7fb6871b145d3368 +0 -0
  687. data/spec/internal/tmp/cache/assets/test/sprockets/e1b7ccff7b73993818ad0cab86fff97d +0 -0
  688. data/spec/internal/tmp/cache/assets/test/sprockets/e2e09ef3ca7aa04271903297c8b46709 +0 -0
  689. data/spec/internal/tmp/cache/assets/test/sprockets/e739e484ef94690df17455376937d2c1 +0 -0
  690. data/spec/internal/tmp/cache/assets/test/sprockets/ed22c5fbe5ee32755035c97ce6f688ff +0 -0
  691. data/spec/internal/tmp/cache/assets/test/sprockets/ef4afa2365308566e3c0e19dc2c61fcb +0 -0
  692. data/spec/internal/tmp/cache/assets/test/sprockets/f29a5a07e82cde486d7f9f9296a036e7 +0 -0
  693. data/spec/internal/tmp/pids/server.pid +0 -1
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :contact, class: Spotlight::Contact do
3
+ exhibit
4
+ end
5
+ end
6
+
7
+
@@ -1,7 +1,7 @@
1
1
  FactoryGirl.define do
2
2
  factory :custom_field, class: Spotlight::CustomField do
3
3
  exhibit Spotlight::Exhibit.default
4
- field "field_name"
4
+ field "field_name_tesim"
5
5
  configuration({ "label" => "Some Field" })
6
6
  end
7
7
  end
@@ -1,6 +1,7 @@
1
1
  FactoryGirl.define do
2
2
  factory :exhibit, class: Spotlight::Exhibit do
3
3
  sequence(:name) { |n| "exhibit#{n}" }
4
+ sequence(:title) { |n| "Exhibit Title #{n}" }
4
5
  end
5
6
  end
6
7
 
@@ -4,6 +4,9 @@ FactoryGirl.define do
4
4
  title "Page1"
5
5
  published true
6
6
  end
7
+ factory :feature_subpage, parent: :feature_page do
8
+ association :parent_page, factory: :feature_page
9
+ end
7
10
  factory :about_page, class: Spotlight::AboutPage do
8
11
  exhibit Spotlight::Exhibit.default
9
12
  title "Page1"
@@ -1,7 +1,7 @@
1
1
  FactoryGirl.define do
2
2
  factory :role, class: Spotlight::Role do
3
3
  exhibit
4
- role 'curate'
4
+ role 'curator'
5
5
  user
6
6
  end
7
7
  end
@@ -2,6 +2,7 @@ FactoryGirl.define do
2
2
  factory :search, class: Spotlight::Search do
3
3
  exhibit Spotlight::Exhibit.default
4
4
  title "Search1"
5
+ featured_image 'https://stacks.stanford.edu/image/dq287tq6352/dq287tq6352_05_0001_thumb'
5
6
  end
6
7
 
7
8
  factory :published_search, class: Spotlight::Search do
@@ -2,6 +2,12 @@ FactoryGirl.define do
2
2
  factory :tag, class: ActsAsTaggableOn::Tag do
3
3
  sequence(:name) { |n| "tag#{n}" }
4
4
  end
5
+
6
+ factory :tagging, class: ActsAsTaggableOn::Tagging do
7
+ sequence(:tag) { |n| FactoryGirl.create(:tag, name: "tagging#{n}") }
8
+ tagger Spotlight::Exhibit.default
9
+ context :tags
10
+ end
5
11
  end
6
12
 
7
13
 
@@ -10,7 +10,7 @@ FactoryGirl.define do
10
10
  end
11
11
  factory :exhibit_curator do
12
12
  after(:create) do |user, evaluator|
13
- create_list(:role, 1, user: user, exhibit: Spotlight::Exhibit.default, role: 'curate')
13
+ create_list(:role, 1, user: user, exhibit: Spotlight::Exhibit.default, role: 'curator')
14
14
  end
15
15
  end
16
16
 
@@ -0,0 +1,38 @@
1
+ require 'spec_helper'
2
+
3
+ describe "Add a contact to an exhibit" do
4
+ let(:curator) { FactoryGirl.create(:exhibit_curator) }
5
+ let(:exhibit) { curator.roles.first.exhibit }
6
+ let!(:about_page) { FactoryGirl.create(:about_page, exhibit: exhibit) }
7
+ before { login_as curator }
8
+ it "should display a newly added contact in the sidebar" do
9
+ visit spotlight.exhibit_about_pages_path(exhibit)
10
+ click_link "Add contact"
11
+ fill_in "Name", with: "Marcus Aurelius"
12
+ fill_in "Email", with: "marcus@rome.gov"
13
+ fill_in "Title", with: "Emperor"
14
+ fill_in "Location", with: "Rome"
15
+
16
+ click_button "Save"
17
+ expect(page).to have_content "Contact created."
18
+
19
+ within ".contacts_admin" do
20
+ check "exhibit_contacts_attributes_0_show_in_sidebar"
21
+ end
22
+ within ".exhibit-contacts" do
23
+ click_button "Save changes"
24
+ end
25
+
26
+
27
+ expect(page).to have_content "Contacts were successfully updated."
28
+
29
+ within "#nested-pages" do
30
+ click_link "View"
31
+ end
32
+
33
+ within "#sidebar .contacts" do
34
+ expect(page).to have_selector ".name", text: "Marcus Aurelius"
35
+ end
36
+
37
+ end
38
+ end
@@ -21,7 +21,8 @@ describe "Adding custom metadata field data" do
21
21
 
22
22
  click_on "Save changes"
23
23
 
24
- expect(::SolrDocument.find("dq287tq6352").sidecar(Spotlight::Exhibit.default).data).to include "field_name" => "My new custom field value"
24
+ expect(::SolrDocument.find("dq287tq6352").sidecar(Spotlight::Exhibit.default).data).to include "field_name_tesim" => "My new custom field value"
25
+ sleep(1) # The data isn't commited to solr immediately.
25
26
 
26
27
  visit spotlight.exhibit_catalog_path(Spotlight::Exhibit.default, "dq287tq6352")
27
28
 
@@ -0,0 +1,34 @@
1
+ require "spec_helper"
2
+
3
+ describe "Browse Category Administration" do
4
+ let!(:search) { FactoryGirl.create(:search) }
5
+ let(:curator) { FactoryGirl.create(:exhibit_curator) }
6
+ let(:exhibit) { Spotlight::Exhibit.default }
7
+ before { login_as curator }
8
+ describe "index" do
9
+ it "should have searches" do
10
+ visit spotlight.exhibit_searches_path(exhibit)
11
+ within(".panel .search") do
12
+ expect(page).to have_css(".title", text: search.title)
13
+ end
14
+ end
15
+ end
16
+ describe "edit" do
17
+ it "should display an edit form" do
18
+ visit spotlight.edit_search_path(search)
19
+ expect(page).to have_css("h1 small", text: "Edit Browse Category")
20
+ expect(find_field("search_title").value).to eq search.title
21
+ end
22
+ end
23
+ describe "destroy" do
24
+ it "should destroy a tag" do
25
+ pending("TODO: Allow searches to be destroyed without javascript")
26
+ visit spotlight.exhibit_searches_path(exhibit)
27
+ within(".panel .search") do
28
+ click_link("Delete")
29
+ end
30
+ expect(page).to have_content("Search was deleted")
31
+ expect(page).not_to have_content(search.title)
32
+ end
33
+ end
34
+ end
@@ -11,7 +11,7 @@ describe "Creating a page", :type => :feature do
11
11
  login_as exhibit_curator
12
12
  visit '/'
13
13
  within '.dropdown' do
14
- click_link 'Curation'
14
+ click_link 'Dashboard'
15
15
  end
16
16
  within '#sidebar' do
17
17
  click_link "About pages"
@@ -25,11 +25,11 @@ describe "Creating a page", :type => :feature do
25
25
 
26
26
  visit '/'
27
27
  within '.dropdown-menu' do
28
- click_link 'Curation'
28
+ click_link 'Dashboard'
29
29
  end
30
30
 
31
31
  click_link "About pages"
32
- click_button "Add new Page"
32
+ click_button "Add new page"
33
33
  expect(page).to have_content "Page was successfully created."
34
34
  expect(page).to have_css("li.dd-item")
35
35
  end
@@ -2,20 +2,63 @@ require "spec_helper"
2
2
 
3
3
  describe "Curation Mode Widget" do
4
4
  let(:exhibit_curator) { FactoryGirl.create(:exhibit_curator) }
5
+ let(:feature_page) { FactoryGirl.create(:feature_page) }
5
6
  let(:doc_id) { "dq287tq6352" }
6
- before {login_as exhibit_curator}
7
- describe "on the edit page" do
8
- it "should have text indicating that the user is in curation mode and a link to turn it off" do
9
- visit spotlight.edit_exhibit_catalog_path(Spotlight::Exhibit.default, doc_id)
10
- expect(page).to have_content("You are in curation mode. Turn off.")
11
- expect(page).to have_link("Turn off.")
7
+ let(:curation_mode_link) { "Turn off." }
8
+ let(:curation_mode_text) { "You are in curation mode. #{curation_mode_link}" }
9
+ let(:user_mode_link) { "Enter curation mode." }
10
+ let(:user_mode_text) { "You are in end-user mode. #{user_mode_link}" }
11
+ describe "when not logged in" do
12
+ describe "the feature pages" do
13
+ describe "edit page" do
14
+ it "should not render the widget" do
15
+ visit spotlight.edit_polymorphic_path(feature_page)
16
+ expect(page).not_to have_content(curation_mode_text)
17
+ expect(page).not_to have_link(curation_mode_link)
18
+ end
19
+ end
20
+ describe "show page" do
21
+ it "should not render the widget" do
22
+ visit spotlight.polymorphic_path(feature_page)
23
+ expect(page).not_to have_content(curation_mode_text)
24
+ expect(page).not_to have_link(curation_mode_link)
25
+ end
26
+ end
12
27
  end
13
28
  end
14
- describe "on the show page" do
15
- it "should have text indicating that the user is in end-user mode and a link to turn go into curation mode" do
16
- visit spotlight.exhibit_catalog_path(Spotlight::Exhibit.default, doc_id)
17
- expect(page).to have_content("You are in end-user mode. Enter curation mode.")
18
- expect(page).to have_link("Enter curation mode.")
29
+ describe "when logged in" do
30
+ before {login_as exhibit_curator}
31
+ describe "the feature pages" do
32
+ describe "edit page" do
33
+ it "should have text indicating that the user is in curation mode and a link to turn it off" do
34
+ visit spotlight.edit_polymorphic_path(feature_page)
35
+ expect(page).to have_content(curation_mode_text)
36
+ expect(page).to have_link(curation_mode_link)
37
+ end
38
+ end
39
+ describe "show page" do
40
+ it "should have text indicating that the user is in end-user mode and a link to turn go into curation mode" do
41
+ visit spotlight.polymorphic_path(feature_page)
42
+ expect(page).to have_content(user_mode_text)
43
+ expect(page).to have_link(user_mode_link)
44
+ end
45
+ end
46
+ end
47
+ describe "the spotlight catalog" do
48
+ describe "edit page" do
49
+ it "should have text indicating that the user is in curation mode and a link to turn it off" do
50
+ visit spotlight.edit_exhibit_catalog_path(Spotlight::Exhibit.default, doc_id)
51
+ expect(page).to have_content(curation_mode_text)
52
+ expect(page).to have_link(curation_mode_link)
53
+ end
54
+ end
55
+ describe "show page" do
56
+ it "should have text indicating that the user is in end-user mode and a link to turn go into curation mode" do
57
+ visit spotlight.exhibit_catalog_path(Spotlight::Exhibit.default, doc_id)
58
+ expect(page).to have_content(user_mode_text)
59
+ expect(page).to have_link(user_mode_link)
60
+ end
61
+ end
19
62
  end
20
63
  end
21
64
  end
@@ -8,7 +8,7 @@ describe "A curator can see the items page" do
8
8
 
9
9
  visit '/'
10
10
  within '.dropdown-menu' do
11
- click_link 'Curation'
11
+ click_link 'Dashboard'
12
12
  end
13
13
  expect(page).to have_content "Items"
14
14
  end
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+
3
+ describe "Dashboard" do
4
+ let(:admin) { FactoryGirl.create(:exhibit_admin) }
5
+ before do
6
+ login_as(admin)
7
+ end
8
+
9
+ let!(:parent_feature_page) {
10
+ FactoryGirl.create(:feature_page, title: "Parent Page")
11
+ }
12
+ let!(:child_feature_page) {
13
+ FactoryGirl.create(
14
+ :feature_page,
15
+ title: "Child Page",
16
+ parent_page: parent_feature_page
17
+ )
18
+ }
19
+
20
+ it "should have short-cuts to creating new pages" do
21
+ visit spotlight.exhibit_dashboard_path(Spotlight::Exhibit.default)
22
+ expect(page).to have_content "Recently Updated Items"
23
+ expect(page).to have_button "Add new Feature page"
24
+ expect(page).to have_button "Add new About page"
25
+ end
26
+ it "should include a list of recently edited feature pages" do
27
+ visit spotlight.exhibit_dashboard_path(Spotlight::Exhibit.default)
28
+ expect(page).to have_content "Recent Site Building Activity"
29
+ expect(page).to have_content "Parent Page"
30
+ expect(page).to have_content "Child Page"
31
+ end
32
+
33
+ it "should include a list of recently indexed items" do
34
+ visit spotlight.exhibit_dashboard_path(Spotlight::Exhibit.default)
35
+ expect(page).to have_content "Recently Updated Items"
36
+ expect(page).to have_selector("#documents")
37
+ end
38
+
39
+ end
@@ -27,6 +27,9 @@ describe "Add tags to an item in an exhibit" do
27
27
  expect(page).to have_selector "li", text: "Three"
28
28
  end
29
29
 
30
+ click_on "Two and a half"
31
+
32
+ expect(page).to have_content "Remove constraint Exhibit Tags: Two and a half"
30
33
  end
31
34
  end
32
35
 
@@ -15,7 +15,7 @@ describe "Adding custom metadata fields", type: :feature do
15
15
  fill_in "Label", with: "My new custom field"
16
16
  fill_in "Short description", with: "Helps to remind me what this field is for"
17
17
 
18
- click_on "Create Custom field"
18
+ click_on "Save"
19
19
 
20
20
  expect(page).to have_content "Custom field was created"
21
21
  within "#exhibit-specific-fields" do
@@ -30,7 +30,7 @@ describe "Adding custom metadata fields", type: :feature do
30
30
  expect(find_field('Short description').value).to eq 'Helps to remind me what this field is for'
31
31
  fill_in 'Short description', with: 'A much better description'
32
32
 
33
- click_button "Update Custom field"
33
+ click_button "Save changes"
34
34
 
35
35
  expect(page).to have_content "Custom field was updated"
36
36
 
@@ -21,29 +21,29 @@ describe "Editing metadata fields", type: :feature do
21
21
 
22
22
  click_on "Save changes"
23
23
 
24
- expect(Spotlight::Exhibit.default.blacklight_config.facet_fields.keys).to include("subject_temporal_sim")
25
- expect(Spotlight::Exhibit.default.blacklight_config.facet_fields.keys).to_not include("language_sim", "genre_sim")
24
+ expect(Spotlight::Exhibit.default.blacklight_config.facet_fields.select { |k,v| v.show }.keys).to include("subject_temporal_ssim")
25
+ expect(Spotlight::Exhibit.default.blacklight_config.facet_fields.select { |k,v| v.show }.keys).to_not include("language_ssim", "genre_ssim")
26
26
  end
27
27
 
28
28
  it "should allow curators to set facet labels" do
29
29
  visit spotlight.exhibit_edit_facets_path Spotlight::Exhibit.default
30
30
 
31
- within ".facet-config-genre_sim" do
31
+ within ".facet-config-genre_ssim" do
32
32
  click_on "Options"
33
33
  fill_in "Display Label", with: "Some Label"
34
34
  end
35
35
 
36
36
  click_on "Save changes"
37
37
 
38
- expect(Spotlight::Exhibit.default.blacklight_config.facet_fields['genre_sim'].label).to eq "Some Label"
38
+ expect(Spotlight::Exhibit.default.blacklight_config.facet_fields['genre_ssim'].label).to eq "Some Label"
39
39
  end
40
40
 
41
41
  it "should display information about the facet" do
42
42
  visit spotlight.exhibit_edit_facets_path Spotlight::Exhibit.default
43
- within ".facet-config-genre_sim" do
43
+ within ".facet-config-genre_ssim" do
44
44
  expect(page).to have_content /\d+ items/
45
45
  expect(page).to have_content /(\d+) unique values/
46
- expect(page).to have_link "#{$1} unique values", href: catalog_facet_path('genre_sim')
46
+ expect(page).to have_link "#{$1} unique values", href: catalog_facet_path('genre_ssim')
47
47
  end
48
48
  end
49
49
  end
@@ -26,4 +26,18 @@ describe "Editing metadata fields", type: :feature do
26
26
  expect(Spotlight::Exhibit.default.blacklight_config('list').index_fields).to have(2).fields
27
27
  expect(Spotlight::Exhibit.default.blacklight_config.show_fields).to include("language_ssm", "abstract_tesim")
28
28
  end
29
+
30
+ it "should have in-place editing of labels", js: true do
31
+ visit spotlight.exhibit_edit_metadata_path Spotlight::Exhibit.default
32
+ check :blacklight_configuration_index_fields_language_ssm_show
33
+ check :blacklight_configuration_index_fields_language_ssm_list
34
+
35
+ click_on "Language"
36
+
37
+ expect(page).to have_field :blacklight_configuration_index_fields_language_ssm_label, visible: true
38
+ fill_in :blacklight_configuration_index_fields_language_ssm_label, with: "Language of Origin"
39
+
40
+ click_on "Save changes"
41
+ expect(Spotlight::Exhibit.default.blacklight_config.index_fields['language_ssm'].label).to eq "Language of Origin"
42
+ end
29
43
  end
@@ -2,6 +2,8 @@ require "spec_helper"
2
2
 
3
3
  describe "Feature page" do
4
4
  describe "sidebar" do
5
+ let!(:exhibit) { Spotlight::Exhibit.default }
6
+
5
7
  let!(:parent_feature_page) {
6
8
  FactoryGirl.create(:feature_page, title: "Parent Page")
7
9
  }
@@ -5,9 +5,25 @@ describe "Home page" do
5
5
  it "should exist by default on exhibits" do
6
6
  visit '/'
7
7
  within '.dropdown-menu' do
8
- click_link 'Curation'
8
+ click_link 'Dashboard'
9
9
  end
10
10
  click_link "Feature pages"
11
- expect(page).to have_selector "h3", text: "Exhibit Home"
11
+ expect(page).to have_selector "h3", text: "Homepage"
12
+ expect(page).to have_selector "h3.panel-title", text: "Exhibit Home"
13
+ end
14
+ it "should allow users to edit the home page title" do
15
+ visit '/'
16
+ within '.dropdown-menu' do
17
+ click_link 'Dashboard'
18
+ end
19
+ click_link "Feature pages"
20
+ within(".home_page") do
21
+ click_link "Edit"
22
+ end
23
+ fill_in "home_page_title", with: "New Home Page Title"
24
+ click_button "Save changes"
25
+ within(".home_page") do
26
+ expect(page).to have_selector "h3.panel-title", text: "New Home Page Title"
27
+ end
12
28
  end
13
29
  end