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