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