Sha256: 401c442a1930ccbdf9d83b4aeb1e6cd8ebeb5294718e21732aae17c7b475cb24
Contents?: true
Size: 610 Bytes
Versions: 9
Compression:
Stored size: 610 Bytes
Contents
# -*- encoding : utf-8 -*- require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "controllers that are not catalog controller" do it "should have the correct search form" do visit alternate_index_path page.should have_selector("form[action='#{alternate_index_path}']") fill_in "q", :with=>"history" click_button 'search' page.should have_link("startOverLink", :href=>alternate_index_path) page.should have_selector("form.per_page[action='#{alternate_index_path}']") page.should have_selector("form#sort_form[action='#{alternate_index_path}']") end end
Version data entries
9 entries across 9 versions & 1 rubygems