Sha256: 96835de5ad791a72d71a708b66ee046c385a75caf3d6271ca39b0d0cc79703f7

Contents?: true

Size: 734 Bytes

Versions: 40

Compression:

Stored size: 734 Bytes

Contents

# frozen_string_literal: true

describe 'Featured Images Controller', type: :routing do
  describe 'routing' do
    routes { Spotlight::Engine.routes }

    it 'routes to /contact_images to #create' do
      expect(post('/contact_images')).to route_to 'spotlight/featured_images#create'
    end

    it 'routes to /exhibit_thumbnails to #create' do
      expect(post('/exhibit_thumbnails')).to route_to 'spotlight/featured_images#create'
    end

    it 'routes to /mastheads to #create' do
      expect(post('/mastheads')).to route_to 'spotlight/featured_images#create'
    end

    it 'routes to /featured_images to #create' do
      expect(post('/featured_images')).to route_to 'spotlight/featured_images#create'
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.4 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.alpha.3 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.alpha.2 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.alpha.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.13.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.12.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.12.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.11.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.10.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.9.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.8.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.7.2 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.7.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.7.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.6.1.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.6.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.6.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.5.2 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.5.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.5.0 spec/routing/spotlight/featured_images_spec.rb