Sha256: 85c0ec9a5a228755da8075faa22a1ba31026ee76c65667b51c2153f01b74f8c7
Contents?: true
Size: 606 Bytes
Versions: 5
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe "Search Sort" do it "should sort 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 "should sort 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
5 entries across 5 versions & 1 rubygems