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.4.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.3.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.2.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.1.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.3 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.2 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.rc6 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.rc5 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.rc4 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.rc3 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.rc2 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.rc1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.alpha.10 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.alpha.9 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.alpha.8 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.alpha.7 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.alpha.6 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-3.0.0.alpha.5 spec/routing/spotlight/featured_images_spec.rb