Sha256: 10d3a20960bf62d87665014e7958927e5d6dd9c2858540d0612514abb17a8a70

Contents?: true

Size: 343 Bytes

Versions: 27

Compression:

Stored size: 343 Bytes

Contents

require 'spec_helper'

module Spotlight
  describe 'Catalog controller', type: :routing do
    describe 'routing' do
      routes { Spotlight::Engine.routes }

      it 'routes to #edit' do
        expect(get('/1/catalog/dq287tq6352/edit')).to route_to('spotlight/catalog#edit', exhibit_id: '1', id: 'dq287tq6352')
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
blacklight-spotlight-0.18.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.17.1 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.17.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.16.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.15.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.14.2 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.14.1 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.14.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.13.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.12.1 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.12.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.11.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.10.3 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.10.2 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.10.1 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.10.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.9.2 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.9.1 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.9.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.8.2 spec/routing/spotlight/exhibit_catalog_spec.rb