spec/features/exhibits/translation_editing_spec.rb in blacklight-spotlight-3.0.0.alpha.9 vs spec/features/exhibits/translation_editing_spec.rb in blacklight-spotlight-3.0.0.alpha.10

- old
+ new

@@ -328,11 +328,11 @@ visit spotlight.edit_exhibit_translations_path(exhibit, language: 'fr') end it 'has a title and description for every browse category' do within '#browse' do - expect(page).to have_css('input[type="text"]', count: 2) + expect(page).to have_css('input[type="text"]', count: 4) expect(page).to have_css('textarea', count: 2) expect(page).to have_field 'All Exhibit Items' expect(page).to have_field 'Browse Category 1' expect(page).to have_css('.form-text', text: 'All items in this exhibit.') @@ -405,10 +405,10 @@ it 'counts existing and total available translations' do visit spotlight.edit_exhibit_translations_path(exhibit, language: 'fr') expect(page).to have_link('General 1/8') expect(page).to have_link('Search field labels 0/16') - expect(page).to have_link('Browse categories 0/2') + expect(page).to have_link('Browse categories 0/3') expect(page).to have_link('Metadata field labels 0/17') end end end