Sha256: dc5c81a63239eb8b2c6502fe68e876f4e0eeae60069924e555f88ba408e1aefb
Contents?: true
Size: 530 Bytes
Versions: 61
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper' # spec for sidebar partial in catalog show view describe "/catalog/_search_header.html.erb" do it "should render the default search header partials" do stub_template "_did_you_mean.html.erb" => "did_you_mean" stub_template "_constraints.html.erb" => "constraints" stub_template "_sort_and_per_page.html.erb" => "sort_and_per_page" render expect(rendered).to match /did_you_mean/ expect(rendered).to match /constraints/ expect(rendered).to match /sort_and_per_page/ end end
Version data entries
61 entries across 61 versions & 1 rubygems