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