Sha256: 1a1e4f7eb111f0f6c8731e85eadd5268d2fbc92979236fd27b44512168d83d92
Contents?: true
Size: 567 Bytes
Versions: 7
Compression:
Stored size: 567 Bytes
Contents
# frozen_string_literal: true RSpec.describe "Search Sort" do it "sorts on facet results with no search terms" do visit root_path within "#facet-language_ssim" do click_on 'English' end expect(page).to have_content 'Sort by relevance' click_on 'title' expect(page).to have_content 'Sort by title' end it "sorts on search" do visit root_path fill_in "q", with: 'bod' click_on 'search' expect(page).to have_content 'Sort by relevance' click_on 'title' expect(page).to have_content 'Sort by title' end end
Version data entries
7 entries across 7 versions & 2 rubygems