blacklight-spotlight 2.0.0.rc3 → 2.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
@@ -113,6 +113,7 @@ describe 'Translation editing', type: :feature do
113
113
 
114
114
  describe 'pages' do
115
115
  let!(:about_page1) { FactoryBot.create(:about_page, title: 'First Page', exhibit: exhibit, locale: 'fr') }
116
+ let(:about_page2) { FactoryBot.create(:about_page, title: 'Second Page', exhibit: exhibit, locale: 'fr') }
116
117
 
117
118
  before do
118
119
  within '.translation-edit-form #general' do
@@ -122,8 +123,8 @@ describe 'Translation editing', type: :feature do
122
123
  end
123
124
  end
124
125
  it 'adds breadcrumbs to pages' do
125
- visit spotlight.exhibit_about_page_path(about_page1.exhibit, about_page1, locale: 'fr')
126
- expect(page).to have_breadcrumbs 'Maison', 'Sur', about_page1.title
126
+ visit spotlight.exhibit_about_page_path(about_page2.exhibit, about_page2, locale: 'fr')
127
+ expect(page).to have_breadcrumbs 'Maison', 'Sur', about_page2.title
127
128
  end
128
129
 
129
130
  it 'does not translate admin breadcrumbs' do
@@ -12,7 +12,7 @@ describe Spotlight::LanguagesHelper, type: :helper do
12
12
  ['German', :de],
13
13
  ['Hungarian', :hu],
14
14
  ['Italian', :it],
15
- ['Portugese - Brazil', :'pt-BR'],
15
+ ['Portuguese - Brazil', :'pt-BR'],
16
16
  ['Spanish', :es]
17
17
  ]
18
18
  )
@@ -89,6 +89,33 @@ describe Spotlight::Exhibit, type: :model do
89
89
  end
90
90
  end
91
91
 
92
+ describe '#main_about_page' do
93
+ let!(:about_page) { FactoryBot.create(:about_page, exhibit: exhibit, published: false) }
94
+ let!(:about_page2) { FactoryBot.create(:about_page, exhibit: exhibit, published: true) }
95
+ let(:about_page2_es) { about_page2.clone_for_locale('es') }
96
+
97
+ it 'is the first published about page' do
98
+ expect(exhibit.main_about_page).to eq about_page2
99
+ end
100
+
101
+ describe 'when under a non-default locale' do
102
+ before { I18n.locale = 'es' }
103
+ after { I18n.locale = 'en' }
104
+
105
+ it 'loads the first published about page for that locale' do
106
+ about_page2_es.published = true
107
+ about_page2_es.save
108
+ expect(exhibit.main_about_page).to eq about_page2_es
109
+ end
110
+
111
+ it 'is nil when there is no locale specific page published' do
112
+ about_page2_es.published = false
113
+ about_page2_es.save
114
+ expect(exhibit.main_about_page).to be_nil
115
+ end
116
+ end
117
+ end
118
+
92
119
  describe 'import' do
93
120
  it 'removes the default browse category' do
94
121
  subject.save
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-spotlight
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc3
4
+ version: 2.0.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-04-30 00:00:00.000000000 Z
14
+ date: 2018-05-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -1581,269 +1581,269 @@ specification_version: 4
1581
1581
  summary: Enable librarians, curators, and others who are responsible for digital collections
1582
1582
  to create attractive, feature-rich websites that feature these collections.
1583
1583
  test_files:
1584
- - spec/uploaders/spotlight/featured_image_uploader_spec.rb
1585
- - spec/uploaders/spotlight/attachment_uploader_spec.rb
1586
- - spec/spec_helper.rb
1587
- - spec/i18n_spec.rb
1588
- - spec/mailers/spotlight/indexing_complete_mailer_spec.rb
1584
+ - spec/controllers/application_controller_spec.rb
1585
+ - spec/controllers/spotlight/about_pages_controller_spec.rb
1586
+ - spec/controllers/spotlight/admin_users_controller_spec.rb
1587
+ - spec/controllers/spotlight/appearances_controller_spec.rb
1588
+ - spec/controllers/spotlight/application_controller_spec.rb
1589
+ - spec/controllers/spotlight/attachments_controller_spec.rb
1590
+ - spec/controllers/spotlight/browse_controller_spec.rb
1591
+ - spec/controllers/spotlight/catalog_controller_spec.rb
1592
+ - spec/controllers/spotlight/confirmations_controller_spec.rb
1593
+ - spec/controllers/spotlight/contact_email_controller_spec.rb
1594
+ - spec/controllers/spotlight/contact_forms_controller_spec.rb
1595
+ - spec/controllers/spotlight/contacts_controller_spec.rb
1596
+ - spec/controllers/spotlight/custom_fields_controller_spec.rb
1597
+ - spec/controllers/spotlight/dashboards_controller_spec.rb
1598
+ - spec/controllers/spotlight/exhibits_controller_spec.rb
1599
+ - spec/controllers/spotlight/feature_pages_controller_spec.rb
1600
+ - spec/controllers/spotlight/featured_images_controller_spec.rb
1601
+ - spec/controllers/spotlight/filters_controller_spec.rb
1602
+ - spec/controllers/spotlight/home_pages_controller_spec.rb
1603
+ - spec/controllers/spotlight/languages_controller_spec.rb
1604
+ - spec/controllers/spotlight/metadata_configurations_controller_spec.rb
1605
+ - spec/controllers/spotlight/pages_controller_spec.rb
1606
+ - spec/controllers/spotlight/resources/csv_upload_controller_spec.rb
1607
+ - spec/controllers/spotlight/resources/upload_controller_spec.rb
1608
+ - spec/controllers/spotlight/resources_controller_spec.rb
1609
+ - spec/controllers/spotlight/roles_controller_spec.rb
1610
+ - spec/controllers/spotlight/search_configurations_controller_spec.rb
1611
+ - spec/controllers/spotlight/searches_controller_spec.rb
1612
+ - spec/controllers/spotlight/sites_controller_spec.rb
1613
+ - spec/controllers/spotlight/solr_controller_spec.rb
1614
+ - spec/controllers/spotlight/tags_controller_spec.rb
1615
+ - spec/controllers/spotlight/translations_controller_spec.rb
1616
+ - spec/controllers/spotlight/versions_controller_spec.rb
1617
+ - spec/controllers/spotlight/view_configurations_controller_spec.rb
1589
1618
  - spec/examples.txt
1590
- - spec/features/confirm_email_spec.rb
1591
- - spec/features/exhibit_themes_spec.rb
1592
- - spec/features/exhibits_index_spec.rb
1619
+ - spec/factories/contact_emails.rb
1620
+ - spec/factories/contact_images.rb
1621
+ - spec/factories/contacts.rb
1622
+ - spec/factories/custom_fields.rb
1623
+ - spec/factories/exhibit_thumbnails.rb
1624
+ - spec/factories/exhibits.rb
1625
+ - spec/factories/featured_images.rb
1626
+ - spec/factories/language.rb
1627
+ - spec/factories/main_navigation.rb
1628
+ - spec/factories/pages.rb
1629
+ - spec/factories/reindexing_log_entries.rb
1630
+ - spec/factories/resources.rb
1631
+ - spec/factories/roles.rb
1632
+ - spec/factories/searches.rb
1633
+ - spec/factories/tags.rb
1634
+ - spec/factories/translation.rb
1635
+ - spec/factories/users.rb
1636
+ - spec/features/about_page_spec.rb
1637
+ - spec/features/add_contacts_spec.rb
1638
+ - spec/features/add_custom_field_metadata_spec.rb
1639
+ - spec/features/add_iiif_manifest_spec.rb
1593
1640
  - spec/features/add_items_spec.rb
1594
- - spec/features/site_admin_management_spec.rb
1595
- - spec/features/slideshow_spec.rb
1641
+ - spec/features/autocomplete_typeahead_spec.rb
1596
1642
  - spec/features/browse_category_admin_spec.rb
1597
- - spec/features/item_admin_spec.rb
1598
- - spec/features/add_contacts_spec.rb
1599
- - spec/features/translation_scope_spec.rb
1643
+ - spec/features/browse_category_spec.rb
1644
+ - spec/features/catalog_spec.rb
1645
+ - spec/features/confirm_email_spec.rb
1646
+ - spec/features/create_exhibit_spec.rb
1600
1647
  - spec/features/create_page_spec.rb
1601
- - spec/features/site_masthead_spec.rb
1602
1648
  - spec/features/dashboard_spec.rb
1603
- - spec/features/main_navigation_spec.rb
1604
- - spec/features/about_page_spec.rb
1605
- - spec/features/report_a_problem_spec.rb
1606
- - spec/features/import_exhibit_spec.rb
1607
- - spec/features/catalog_spec.rb
1608
- - spec/features/add_custom_field_metadata_spec.rb
1609
- - spec/features/metadata_admin_spec.rb
1649
+ - spec/features/edit_contact_spec.rb
1650
+ - spec/features/edit_search_fields_spec.rb
1610
1651
  - spec/features/exhibit_masthead_spec.rb
1652
+ - spec/features/exhibit_themes_spec.rb
1611
1653
  - spec/features/exhibits/add_tags_spec.rb
1612
1654
  - spec/features/exhibits/administration_spec.rb
1613
1655
  - spec/features/exhibits/custom_metadata_fields_spec.rb
1614
- - spec/features/exhibits/translation_editing_spec.rb
1615
1656
  - spec/features/exhibits/edit_metadata_fields_spec.rb
1616
1657
  - spec/features/exhibits/language_create_edit_spec.rb
1617
- - spec/features/browse_category_spec.rb
1618
- - spec/features/create_exhibit_spec.rb
1658
+ - spec/features/exhibits/translation_editing_spec.rb
1659
+ - spec/features/exhibits_index_spec.rb
1619
1660
  - spec/features/feature_page_spec.rb
1620
1661
  - spec/features/home_page_spec.rb
1662
+ - spec/features/import_exhibit_spec.rb
1663
+ - spec/features/item_admin_spec.rb
1664
+ - spec/features/javascript/about_page_admin_spec.rb
1665
+ - spec/features/javascript/block_controls_spec.rb
1621
1666
  - spec/features/javascript/blocks/featured_browse_categories_block_spec.rb
1622
- - spec/features/javascript/blocks/link_to_search_block_spec.rb
1623
1667
  - spec/features/javascript/blocks/featured_pages_block_spec.rb
1624
- - spec/features/javascript/blocks/search_result_block_spec.rb
1625
- - spec/features/javascript/blocks/uploaded_items_block_spec.rb
1668
+ - spec/features/javascript/blocks/link_to_search_block_spec.rb
1626
1669
  - spec/features/javascript/blocks/rule_block_spec.rb
1670
+ - spec/features/javascript/blocks/search_result_block_spec.rb
1627
1671
  - spec/features/javascript/blocks/solr_documents_block_spec.rb
1672
+ - spec/features/javascript/blocks/uploaded_items_block_spec.rb
1673
+ - spec/features/javascript/edit_in_place_spec.rb
1628
1674
  - spec/features/javascript/feature_page_admin_spec.rb
1629
- - spec/features/javascript/search_config_admin_spec.rb
1630
1675
  - spec/features/javascript/home_page_edit_spec.rb
1631
- - spec/features/javascript/edit_in_place_spec.rb
1632
- - spec/features/javascript/block_controls_spec.rb
1676
+ - spec/features/javascript/locale_selector_spec.rb
1633
1677
  - spec/features/javascript/metadata_admin_spec.rb
1634
- - spec/features/javascript/roles_admin_spec.rb
1635
1678
  - spec/features/javascript/multi_image_select_spec.rb
1636
- - spec/features/javascript/locale_selector_spec.rb
1637
- - spec/features/javascript/about_page_admin_spec.rb
1638
1679
  - spec/features/javascript/reindex_monitor_spec.rb
1680
+ - spec/features/javascript/roles_admin_spec.rb
1681
+ - spec/features/javascript/search_config_admin_spec.rb
1639
1682
  - spec/features/javascript/search_context_spec.rb
1640
- - spec/features/autocomplete_typeahead_spec.rb
1641
- - spec/features/add_iiif_manifest_spec.rb
1642
- - spec/features/edit_contact_spec.rb
1643
- - spec/features/edit_search_fields_spec.rb
1644
- - spec/models/spotlight/reindex_progress_spec.rb
1683
+ - spec/features/main_navigation_spec.rb
1684
+ - spec/features/metadata_admin_spec.rb
1685
+ - spec/features/report_a_problem_spec.rb
1686
+ - spec/features/site_admin_management_spec.rb
1687
+ - spec/features/site_masthead_spec.rb
1688
+ - spec/features/slideshow_spec.rb
1689
+ - spec/features/translation_scope_spec.rb
1690
+ - spec/fixtures/800x600.png
1691
+ - spec/fixtures/avatar.png
1692
+ - spec/fixtures/csv-upload-fixture.csv
1693
+ - spec/fixtures/gk446cj2442-manifest.json
1694
+ - spec/fixtures/iiif_responses.rb
1695
+ - spec/fixtures/json-upload-fixture.json
1696
+ - spec/fixtures/sample_solr_documents.yml
1697
+ - spec/helpers/spotlight/application_helper_spec.rb
1698
+ - spec/helpers/spotlight/browse_helper_spec.rb
1699
+ - spec/helpers/spotlight/crop_helper_spec.rb
1700
+ - spec/helpers/spotlight/crud_link_helpers_spec.rb
1701
+ - spec/helpers/spotlight/languages_helper_spec.rb
1702
+ - spec/helpers/spotlight/main_app_helpers_spec.rb
1703
+ - spec/helpers/spotlight/meta_helper_spec.rb
1704
+ - spec/helpers/spotlight/navbar_helper_spec.rb
1705
+ - spec/helpers/spotlight/pages_helper_spec.rb
1706
+ - spec/helpers/spotlight/roles_helper_spec.rb
1707
+ - spec/helpers/spotlight/search_configurations_helper_spec.rb
1708
+ - spec/helpers/spotlight/title_helper_spec.rb
1709
+ - spec/helpers/spotlight/translations_helper_spec.rb
1710
+ - spec/i18n_spec.rb
1711
+ - spec/jobs/spotlight/add_uploads_from_csv_spec.rb
1712
+ - spec/jobs/spotlight/default_thumbnail_job_spec.rb
1713
+ - spec/jobs/spotlight/reindex_job_spec.rb
1714
+ - spec/jobs/spotlight/rename_sidecar_field_job_spec.rb
1715
+ - spec/lib/migration/iiif_spec.rb
1716
+ - spec/lib/migration/page_language_spec.rb
1717
+ - spec/lib/spotlight/catalog_spec.rb
1718
+ - spec/lib/spotlight/controller_spec.rb
1719
+ - spec/lib/spotlight/upload_field_config_spec.rb
1720
+ - spec/mailers/spotlight/indexing_complete_mailer_spec.rb
1721
+ - spec/models/sir_trevor_rails/blocks/browse_block_spec.rb
1722
+ - spec/models/sir_trevor_rails/blocks/featured_pages_block_spec.rb
1723
+ - spec/models/sir_trevor_rails/blocks/search_results_block_spec.rb
1724
+ - spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb
1725
+ - spec/models/sir_trevor_rails/blocks/textable_spec.rb
1726
+ - spec/models/solr_document_spec.rb
1727
+ - spec/models/spotlight/ability_spec.rb
1728
+ - spec/models/spotlight/about_page_spec.rb
1729
+ - spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb
1730
+ - spec/models/spotlight/analytics/ga_spec.rb
1731
+ - spec/models/spotlight/blacklight_configuration_spec.rb
1732
+ - spec/models/spotlight/contact_email_spec.rb
1733
+ - spec/models/spotlight/contact_form_spec.rb
1734
+ - spec/models/spotlight/contact_image_spec.rb
1645
1735
  - spec/models/spotlight/contact_spec.rb
1646
1736
  - spec/models/spotlight/custom_field_spec.rb
1647
1737
  - spec/models/spotlight/exhibit_spec.rb
1738
+ - spec/models/spotlight/exhibit_thumbnail_spec.rb
1739
+ - spec/models/spotlight/feature_page_spec.rb
1648
1740
  - spec/models/spotlight/featured_image_spec.rb
1649
- - spec/models/spotlight/ability_spec.rb
1650
- - spec/models/spotlight/site_spec.rb
1651
- - spec/models/spotlight/solr_document_sidecar_spec.rb
1652
- - spec/models/spotlight/search_spec.rb
1741
+ - spec/models/spotlight/field_metadata_spec.rb
1742
+ - spec/models/spotlight/filter_spec.rb
1743
+ - spec/models/spotlight/home_page_spec.rb
1653
1744
  - spec/models/spotlight/language_spec.rb
1654
- - spec/models/spotlight/contact_image_spec.rb
1745
+ - spec/models/spotlight/main_navigation_spec.rb
1746
+ - spec/models/spotlight/masthead_spec.rb
1747
+ - spec/models/spotlight/page_spec.rb
1748
+ - spec/models/spotlight/reindex_progress_spec.rb
1749
+ - spec/models/spotlight/reindexing_log_entry_spec.rb
1750
+ - spec/models/spotlight/resource_spec.rb
1751
+ - spec/models/spotlight/resources/iiif_harvester_spec.rb
1752
+ - spec/models/spotlight/resources/iiif_manifest_spec.rb
1655
1753
  - spec/models/spotlight/resources/iiif_service_spec.rb
1656
1754
  - spec/models/spotlight/resources/open_graph_spec.rb
1657
- - spec/models/spotlight/resources/web_spec.rb
1658
1755
  - spec/models/spotlight/resources/upload_spec.rb
1659
- - spec/models/spotlight/resources/iiif_harvester_spec.rb
1660
- - spec/models/spotlight/resources/iiif_manifest_spec.rb
1661
- - spec/models/spotlight/page_spec.rb
1662
- - spec/models/spotlight/blacklight_configuration_spec.rb
1756
+ - spec/models/spotlight/resources/web_spec.rb
1757
+ - spec/models/spotlight/role_spec.rb
1758
+ - spec/models/spotlight/search_spec.rb
1759
+ - spec/models/spotlight/site_spec.rb
1760
+ - spec/models/spotlight/sitemap_spec.rb
1663
1761
  - spec/models/spotlight/solr_document/atomic_updates_spec.rb
1664
1762
  - spec/models/spotlight/solr_document/uploaded_resource_spec.rb
1665
- - spec/models/spotlight/resource_spec.rb
1666
- - spec/models/spotlight/main_navigation_spec.rb
1667
- - spec/models/spotlight/about_page_spec.rb
1668
- - spec/models/spotlight/exhibit_thumbnail_spec.rb
1669
- - spec/models/spotlight/sitemap_spec.rb
1670
- - spec/models/spotlight/masthead_spec.rb
1671
- - spec/models/spotlight/contact_email_spec.rb
1672
- - spec/models/spotlight/reindexing_log_entry_spec.rb
1673
- - spec/models/spotlight/feature_page_spec.rb
1674
- - spec/models/spotlight/field_metadata_spec.rb
1675
- - spec/models/spotlight/home_page_spec.rb
1763
+ - spec/models/spotlight/solr_document_sidecar_spec.rb
1676
1764
  - spec/models/spotlight/user_spec.rb
1677
- - spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb
1678
- - spec/models/spotlight/role_spec.rb
1679
- - spec/models/spotlight/filter_spec.rb
1680
- - spec/models/spotlight/contact_form_spec.rb
1681
- - spec/models/spotlight/analytics/ga_spec.rb
1682
- - spec/models/sir_trevor_rails/blocks/browse_block_spec.rb
1683
- - spec/models/sir_trevor_rails/blocks/featured_pages_block_spec.rb
1684
- - spec/models/sir_trevor_rails/blocks/search_results_block_spec.rb
1685
- - spec/models/sir_trevor_rails/blocks/textable_spec.rb
1686
- - spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb
1687
1765
  - spec/models/translation_spec.rb
1688
- - spec/models/solr_document_spec.rb
1689
1766
  - spec/presenters/spotlight/iiif_manifest_presenter_spec.rb
1767
+ - spec/routing/spotlight/exhibit_catalog_spec.rb
1768
+ - spec/routing/spotlight/featured_images_spec.rb
1769
+ - spec/routing/spotlight/pages_routing_spec.rb
1690
1770
  - spec/serializers/spotlight/exhibit_export_serializer_spec.rb
1771
+ - spec/services/spotlight/carrierwave_file_resolver_spec.rb
1772
+ - spec/services/spotlight/clone_translated_page_from_locale_spec.rb
1773
+ - spec/services/spotlight/iiif_resource_resolver_spec.rb
1774
+ - spec/services/spotlight/invite_users_service_spec.rb
1775
+ - spec/services/spotlight/solr_document_builder_spec.rb
1776
+ - spec/spec_helper.rb
1777
+ - spec/support/controllers/engine_helpers.rb
1778
+ - spec/support/disable_friendly_id_deprecation_warnings.rb
1691
1779
  - spec/support/features/capybara_default_max_wait_metadata_helper.rb
1692
1780
  - spec/support/features/test_features_helpers.rb
1781
+ - spec/support/helpers/controller_level_helpers.rb
1693
1782
  - spec/support/stub_iiif_response.rb
1694
- - spec/support/disable_friendly_id_deprecation_warnings.rb
1695
- - spec/support/controllers/engine_helpers.rb
1696
1783
  - spec/support/views/test_view_helpers.rb
1697
- - spec/support/helpers/controller_level_helpers.rb
1698
- - spec/factories/exhibits.rb
1699
- - spec/factories/custom_fields.rb
1700
- - spec/factories/exhibit_thumbnails.rb
1701
- - spec/factories/contact_emails.rb
1702
- - spec/factories/language.rb
1703
- - spec/factories/featured_images.rb
1704
- - spec/factories/translation.rb
1705
- - spec/factories/resources.rb
1706
- - spec/factories/pages.rb
1707
- - spec/factories/reindexing_log_entries.rb
1708
- - spec/factories/main_navigation.rb
1709
- - spec/factories/searches.rb
1710
- - spec/factories/contact_images.rb
1711
- - spec/factories/contacts.rb
1712
- - spec/factories/roles.rb
1713
- - spec/factories/users.rb
1714
- - spec/factories/tags.rb
1715
- - spec/test_app_templates/spotlight_test.rake
1716
1784
  - spec/test_app_templates/carrierwave.rb
1717
- - spec/test_app_templates/fixture.png
1718
- - spec/test_app_templates/lib/generators/test_app_generator.rb
1719
- - spec/test_app_templates/fixture.css
1720
1785
  - spec/test_app_templates/catalog_controller.rb
1786
+ - spec/test_app_templates/fixture.css
1787
+ - spec/test_app_templates/fixture.png
1721
1788
  - spec/test_app_templates/Gemfile.extra
1722
- - spec/lib/spotlight/catalog_spec.rb
1723
- - spec/lib/spotlight/controller_spec.rb
1724
- - spec/lib/spotlight/upload_field_config_spec.rb
1725
- - spec/lib/migration/page_language_spec.rb
1726
- - spec/lib/migration/iiif_spec.rb
1727
- - spec/fixtures/gk446cj2442-manifest.json
1728
- - spec/fixtures/json-upload-fixture.json
1729
- - spec/fixtures/csv-upload-fixture.csv
1730
- - spec/fixtures/avatar.png
1731
- - spec/fixtures/sample_solr_documents.yml
1732
- - spec/fixtures/iiif_responses.rb
1733
- - spec/fixtures/800x600.png
1734
- - spec/routing/spotlight/featured_images_spec.rb
1735
- - spec/routing/spotlight/exhibit_catalog_spec.rb
1736
- - spec/routing/spotlight/pages_routing_spec.rb
1737
- - spec/jobs/spotlight/reindex_job_spec.rb
1738
- - spec/jobs/spotlight/default_thumbnail_job_spec.rb
1739
- - spec/jobs/spotlight/rename_sidecar_field_job_spec.rb
1740
- - spec/jobs/spotlight/add_uploads_from_csv_spec.rb
1741
- - spec/controllers/spotlight/confirmations_controller_spec.rb
1742
- - spec/controllers/spotlight/versions_controller_spec.rb
1743
- - spec/controllers/spotlight/searches_controller_spec.rb
1744
- - spec/controllers/spotlight/contact_forms_controller_spec.rb
1745
- - spec/controllers/spotlight/roles_controller_spec.rb
1746
- - spec/controllers/spotlight/featured_images_controller_spec.rb
1747
- - spec/controllers/spotlight/pages_controller_spec.rb
1748
- - spec/controllers/spotlight/resources/csv_upload_controller_spec.rb
1749
- - spec/controllers/spotlight/resources/upload_controller_spec.rb
1750
- - spec/controllers/spotlight/languages_controller_spec.rb
1751
- - spec/controllers/spotlight/metadata_configurations_controller_spec.rb
1752
- - spec/controllers/spotlight/about_pages_controller_spec.rb
1753
- - spec/controllers/spotlight/appearances_controller_spec.rb
1754
- - spec/controllers/spotlight/view_configurations_controller_spec.rb
1755
- - spec/controllers/spotlight/filters_controller_spec.rb
1756
- - spec/controllers/spotlight/resources_controller_spec.rb
1757
- - spec/controllers/spotlight/catalog_controller_spec.rb
1758
- - spec/controllers/spotlight/contacts_controller_spec.rb
1759
- - spec/controllers/spotlight/home_pages_controller_spec.rb
1760
- - spec/controllers/spotlight/translations_controller_spec.rb
1761
- - spec/controllers/spotlight/dashboards_controller_spec.rb
1762
- - spec/controllers/spotlight/attachments_controller_spec.rb
1763
- - spec/controllers/spotlight/feature_pages_controller_spec.rb
1764
- - spec/controllers/spotlight/search_configurations_controller_spec.rb
1765
- - spec/controllers/spotlight/browse_controller_spec.rb
1766
- - spec/controllers/spotlight/custom_fields_controller_spec.rb
1767
- - spec/controllers/spotlight/exhibits_controller_spec.rb
1768
- - spec/controllers/spotlight/sites_controller_spec.rb
1769
- - spec/controllers/spotlight/contact_email_controller_spec.rb
1770
- - spec/controllers/spotlight/tags_controller_spec.rb
1771
- - spec/controllers/spotlight/application_controller_spec.rb
1772
- - spec/controllers/spotlight/admin_users_controller_spec.rb
1773
- - spec/controllers/spotlight/solr_controller_spec.rb
1774
- - spec/controllers/application_controller_spec.rb
1775
- - spec/views/spotlight/search_configurations/_facets.html.erb_spec.rb
1776
- - spec/views/spotlight/search_configurations/_search_fields.html.erb_spec.rb
1777
- - spec/views/spotlight/search_configurations/_sort.html.erb_spec.rb
1778
- - spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb
1779
- - spec/views/spotlight/searches/edit.html.erb_spec.rb
1780
- - spec/views/spotlight/searches/_search.html.erb_spec.rb
1781
- - spec/views/spotlight/searches/index.html.erb_spec.rb
1782
- - spec/views/spotlight/contacts/edit.html.erb_spec.rb
1783
- - spec/views/spotlight/catalog/edit.html.erb_spec.rb
1789
+ - spec/test_app_templates/lib/generators/test_app_generator.rb
1790
+ - spec/test_app_templates/spotlight_test.rake
1791
+ - spec/uploaders/spotlight/attachment_uploader_spec.rb
1792
+ - spec/uploaders/spotlight/featured_image_uploader_spec.rb
1793
+ - spec/views/_user_util_links.html.erb_spec.rb
1794
+ - spec/views/shared/_analytics.html.erb_spec.rb
1795
+ - spec/views/shared/_exhibit_navbar.html.erb_spec.rb
1796
+ - spec/views/shared/_footer.html.erb_spec.rb
1797
+ - spec/views/shared/_header_navbar.html.erb_spec.rb
1798
+ - spec/views/shared/_masthead.html.erb_spec.rb
1799
+ - spec/views/spotlight/about_pages/_empty.html.erb_spec.rb
1800
+ - spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb
1801
+ - spec/views/spotlight/about_pages/index.html.erb_spec.rb
1802
+ - spec/views/spotlight/browse/_search.html.erb_spec.rb
1803
+ - spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb
1804
+ - spec/views/spotlight/browse/index.html.erb_spec.rb
1805
+ - spec/views/spotlight/browse/show.html.erb_spec.rb
1784
1806
  - spec/views/spotlight/catalog/_edit_default.html.erb_spec.rb
1785
1807
  - spec/views/spotlight/catalog/admin.html.erb_spec.rb
1786
- - spec/views/spotlight/resources/_external_resources_form.html.erb_spec.rb
1787
- - spec/views/spotlight/resources/new.html.erb_spec.rb
1788
- - spec/views/spotlight/roles/index.html.erb_spec.rb
1789
- - spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb
1790
- - spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb
1791
- - spec/views/spotlight/tags/index.html.erb_spec.rb
1792
- - spec/views/spotlight/home_pages/_sidebar.html.erb_spec.rb
1793
- - spec/views/spotlight/home_pages/_empty.html.erb_spec.rb
1794
- - spec/views/spotlight/sites/edit_exhibits.html.erb_spec.rb
1808
+ - spec/views/spotlight/catalog/edit.html.erb_spec.rb
1809
+ - spec/views/spotlight/contacts/edit.html.erb_spec.rb
1810
+ - spec/views/spotlight/dashboards/_analytics.html.erb_spec.rb
1811
+ - spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb
1812
+ - spec/views/spotlight/dashboards/analytics.html.erb_spec.rb
1813
+ - spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb
1795
1814
  - spec/views/spotlight/exhibits/_form.html.erb_spec.rb
1796
1815
  - spec/views/spotlight/exhibits/edit.html.erb_spec.rb
1797
- - spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb
1798
1816
  - spec/views/spotlight/exhibits/index.html.erb_spec.rb
1799
- - spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb
1800
- - spec/views/spotlight/dashboards/analytics.html.erb_spec.rb
1801
- - spec/views/spotlight/dashboards/_analytics.html.erb_spec.rb
1802
- - spec/views/spotlight/sir_trevor/blocks/_iframe_block.html.erb_spec.rb
1803
- - spec/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb_spec.rb
1804
- - spec/views/spotlight/sir_trevor/blocks/_rule_block.html.erb_spec.rb
1805
- - spec/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb_spec.rb
1806
- - spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb
1807
- - spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb
1808
- - spec/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb_spec.rb
1809
- - spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb
1810
- - spec/views/spotlight/sir_trevor/blocks/_browse_block.html.erb_spec.rb
1811
- - spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb
1812
- - spec/views/spotlight/about_pages/index.html.erb_spec.rb
1813
- - spec/views/spotlight/about_pages/_empty.html.erb_spec.rb
1814
- - spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb
1815
1817
  - spec/views/spotlight/feature_pages/_empty.html.erb_spec.rb
1816
- - spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb
1817
- - spec/views/spotlight/browse/show.html.erb_spec.rb
1818
- - spec/views/spotlight/browse/_search.html.erb_spec.rb
1819
- - spec/views/spotlight/browse/index.html.erb_spec.rb
1818
+ - spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb
1819
+ - spec/views/spotlight/home_pages/_empty.html.erb_spec.rb
1820
+ - spec/views/spotlight/home_pages/_sidebar.html.erb_spec.rb
1821
+ - spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb
1822
+ - spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb
1820
1823
  - spec/views/spotlight/pages/_form.html.erb_spec.rb
1821
1824
  - spec/views/spotlight/pages/edit.html.erb_spec.rb
1822
- - spec/views/spotlight/pages/show.html.erb_spec.rb
1823
- - spec/views/spotlight/pages/new.html.erb_spec.rb
1824
1825
  - spec/views/spotlight/pages/index.html.erb_spec.rb
1826
+ - spec/views/spotlight/pages/new.html.erb_spec.rb
1827
+ - spec/views/spotlight/pages/show.html.erb_spec.rb
1828
+ - spec/views/spotlight/resources/_external_resources_form.html.erb_spec.rb
1829
+ - spec/views/spotlight/resources/new.html.erb_spec.rb
1830
+ - spec/views/spotlight/roles/index.html.erb_spec.rb
1831
+ - spec/views/spotlight/search_configurations/_facet_metadata.html.erb_spec.rb
1832
+ - spec/views/spotlight/search_configurations/_facets.html.erb_spec.rb
1833
+ - spec/views/spotlight/search_configurations/_search_fields.html.erb_spec.rb
1834
+ - spec/views/spotlight/search_configurations/_sort.html.erb_spec.rb
1835
+ - spec/views/spotlight/searches/_search.html.erb_spec.rb
1836
+ - spec/views/spotlight/searches/edit.html.erb_spec.rb
1837
+ - spec/views/spotlight/searches/index.html.erb_spec.rb
1838
+ - spec/views/spotlight/sir_trevor/blocks/_browse_block.html.erb_spec.rb
1839
+ - spec/views/spotlight/sir_trevor/blocks/_iframe_block.html.erb_spec.rb
1840
+ - spec/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb_spec.rb
1841
+ - spec/views/spotlight/sir_trevor/blocks/_rule_block.html.erb_spec.rb
1842
+ - spec/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb_spec.rb
1843
+ - spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb
1844
+ - spec/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb_spec.rb
1845
+ - spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb
1846
+ - spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb
1847
+ - spec/views/spotlight/sites/edit_exhibits.html.erb_spec.rb
1848
+ - spec/views/spotlight/tags/index.html.erb_spec.rb
1825
1849
  - spec/views/spotlight/translations/_page.html.erb_spec.rb
1826
- - spec/views/shared/_header_navbar.html.erb_spec.rb
1827
- - spec/views/shared/_exhibit_navbar.html.erb_spec.rb
1828
- - spec/views/shared/_footer.html.erb_spec.rb
1829
- - spec/views/shared/_masthead.html.erb_spec.rb
1830
- - spec/views/shared/_analytics.html.erb_spec.rb
1831
- - spec/views/_user_util_links.html.erb_spec.rb
1832
- - spec/helpers/spotlight/crud_link_helpers_spec.rb
1833
- - spec/helpers/spotlight/application_helper_spec.rb
1834
- - spec/helpers/spotlight/pages_helper_spec.rb
1835
- - spec/helpers/spotlight/translations_helper_spec.rb
1836
- - spec/helpers/spotlight/meta_helper_spec.rb
1837
- - spec/helpers/spotlight/title_helper_spec.rb
1838
- - spec/helpers/spotlight/main_app_helpers_spec.rb
1839
- - spec/helpers/spotlight/roles_helper_spec.rb
1840
- - spec/helpers/spotlight/languages_helper_spec.rb
1841
- - spec/helpers/spotlight/search_configurations_helper_spec.rb
1842
- - spec/helpers/spotlight/browse_helper_spec.rb
1843
- - spec/helpers/spotlight/crop_helper_spec.rb
1844
- - spec/helpers/spotlight/navbar_helper_spec.rb
1845
- - spec/services/spotlight/invite_users_service_spec.rb
1846
- - spec/services/spotlight/clone_translated_page_from_locale_spec.rb
1847
- - spec/services/spotlight/iiif_resource_resolver_spec.rb
1848
- - spec/services/spotlight/solr_document_builder_spec.rb
1849
- - spec/services/spotlight/carrierwave_file_resolver_spec.rb