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