Sha256: 7e9f26a383d2cc55b17404fbe6f646c361b4c4a41bf06f77c6d472cb1d0e53a5
Contents?: true
Size: 384 Bytes
Versions: 69
Compression:
Stored size: 384 Bytes
Contents
# frozen_string_literal: true RSpec.describe "catalog/_facets" do context "with facet groups" do before do stub_template('catalog/_facet_group.html.erb' => 'text') allow(view).to receive_messages(facet_group_names: [nil, nil]) render end it "Calls facet_group for each name" do expect(rendered).to match(/^ text\n text\n$/) end end end
Version data entries
69 entries across 69 versions & 2 rubygems