Sha256: c351f80ce31e4d7cb297f5bd5f7150c379285ea9c87ec1c11eb4f33db325e731
Contents?: true
Size: 414 Bytes
Versions: 18
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true describe Spotlight::ApplicationController, type: :controller do routes { Spotlight::Engine.routes } let(:exhibit) { FactoryBot.create(:exhibit) } it 'provides a search_action_url override' do allow(controller).to receive_messages(current_exhibit: exhibit) expect(controller.search_action_url(q: 'query')).to eq search_exhibit_catalog_url(exhibit, q: 'query') end end
Version data entries
18 entries across 18 versions & 1 rubygems