Sha256: 4702eef0dd3bfa3a451a01fa266ad71bb08047bc2dcc2658f6743db4090d21ca
Contents?: true
Size: 531 Bytes
Versions: 36
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true # spec for sidebar partial in catalog show view describe "/catalog/_search_header.html.erb" do it "renders 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
36 entries across 36 versions & 1 rubygems