Sha256: efb596a6f7b6bdbab76ef7574dfffdec531a5172f7893839f052f02be5d96940

Contents?: true

Size: 340 Bytes

Versions: 13

Compression:

Stored size: 340 Bytes

Contents

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

13 entries across 13 versions & 1 rubygems

Version Path
geoblacklight-2.4.0 spec/routing/catalog_routing_spec.rb
geoblacklight-2.3.0 spec/routing/catalog_routing_spec.rb
geoblacklight-2.2.1 spec/routing/catalog_routing_spec.rb
geoblacklight-2.2.0 spec/routing/catalog_routing_spec.rb
geoblacklight-2.1.2 spec/routing/catalog_routing_spec.rb
geoblacklight-2.1.1 spec/routing/catalog_routing_spec.rb
geoblacklight-2.1.0 spec/routing/catalog_routing_spec.rb
geoblacklight-2.0.0 spec/routing/catalog_routing_spec.rb
geoblacklight-1.9.1 spec/routing/catalog_routing_spec.rb
geoblacklight-1.9.0 spec/routing/catalog_routing_spec.rb
geoblacklight-1.8.0 spec/routing/catalog_routing_spec.rb
geoblacklight-1.7.1 spec/routing/catalog_routing_spec.rb
geoblacklight-1.7.0 spec/routing/catalog_routing_spec.rb