Sha256: e7dc28d9be1207405b5aee794c685f5becbe0ad824b7dd2663e6f8561c1a427e

Contents?: true

Size: 703 Bytes

Versions: 33

Compression:

Stored size: 703 Bytes

Contents

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

33 entries across 33 versions & 1 rubygems

Version Path
blacklight-spotlight-2.4.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.4.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.3.3 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.3.2 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.3.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.3.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.2.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.2.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.1.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.0.2 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.0.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.0.0 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.0.0.rc6 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.0.0.rc5 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.0.0.rc4 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.0.0.rc3 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.0.0.rc2 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-2.0.0.rc1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-1.5.1 spec/routing/spotlight/featured_images_spec.rb
blacklight-spotlight-1.4.1 spec/routing/spotlight/featured_images_spec.rb