Sha256: 303ee38ebd2ddee7d144b6b187ff380f82fa526d91033ea7c23c44d8933871bc

Contents?: true

Size: 370 Bytes

Versions: 20

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

describe 'Catalog Routes', type: :routing do
  # Test paths for custom routes
  it "maps { :controller => 'catalog', :action => 'opensearch', :format => 'xml' } to /catalog/opensearch.xml" do
    expect(get: '/catalog/opensearch.xml').to route_to(controller: 'catalog', action: 'opensearch', format: 'xml')
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
geoblacklight-3.8.1 spec/routing/catalog_routing_spec.rb
geoblacklight-3.8.0 spec/routing/catalog_routing_spec.rb
geoblacklight-4.0.0 spec/routing/catalog_routing_spec.rb
geoblacklight-4.0.0.pre.rc3 spec/routing/catalog_routing_spec.rb
geoblacklight-3.7.0 spec/routing/catalog_routing_spec.rb
geoblacklight-4.0.0.pre.rc2 spec/routing/catalog_routing_spec.rb
geoblacklight-4.0.0.pre.rc1 spec/routing/catalog_routing_spec.rb
geoblacklight-3.6.0 spec/routing/catalog_routing_spec.rb
geoblacklight-3.5.0 spec/routing/catalog_routing_spec.rb
geoblacklight-4.0.0.pre.alpha.3 spec/routing/catalog_routing_spec.rb
geoblacklight-4.0.0.pre.alpha.2 spec/routing/catalog_routing_spec.rb
geoblacklight-4.0.0.pre.alpha.1 spec/routing/catalog_routing_spec.rb
geoblacklight-4.0.0.pre.alpha spec/routing/catalog_routing_spec.rb
geoblacklight-3.4.0 spec/routing/catalog_routing_spec.rb
geoblacklight-3.3.1 spec/routing/catalog_routing_spec.rb
geoblacklight-3.3.0 spec/routing/catalog_routing_spec.rb
geoblacklight-3.2.0 spec/routing/catalog_routing_spec.rb
geoblacklight-3.1.0 spec/routing/catalog_routing_spec.rb
geoblacklight-3.0.1 spec/routing/catalog_routing_spec.rb
geoblacklight-3.0.0 spec/routing/catalog_routing_spec.rb