Sha256: d2ec54f64951cd25c950753af8cd6c1fa5f137171b489807b6433e5b831d18b1
Contents?: true
Size: 570 Bytes
Versions: 10
Compression:
Stored size: 570 Bytes
Contents
require 'spec_helper' describe "Search Sort" do it "should sort on facet results with no search terms" do visit root_path within "#facet-language" 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
10 entries across 10 versions & 1 rubygems