Sha256: f4e3721c94f6a15557710624a2c522b3659fc69e21ce2c45d004e18ff44ff2ec
Contents?: true
Size: 406 Bytes
Versions: 26
Compression:
Stored size: 406 Bytes
Contents
require 'spec_helper' 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 exhibit_catalog_index_url(exhibit, q: 'query') end end
Version data entries
26 entries across 26 versions & 1 rubygems