Sha256: 869c24f196df57886a950b81f4af3490ee39f3bfd9e2a93a7dc8fca60cc48ab7
Contents?: true
Size: 384 Bytes
Versions: 33
Compression:
Stored size: 384 Bytes
Contents
describe Spotlight::ApplicationController, type: :controller do routes { Spotlight::Engine.routes } let(:exhibit) { FactoryGirl.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
33 entries across 33 versions & 1 rubygems