Sha256: 455656a5352c5581bee73f85b6c1336c173eaa79d58216059bb5cf121080e5e9

Contents?: true

Size: 346 Bytes

Versions: 4

Compression:

Stored size: 346 Bytes

Contents

require "spec_helper"

module Spotlight
  describe "Catalog controller", :type => :routing do
    describe "routing" do
      routes { Spotlight::Engine.routes }

      it "routes to #edit" do
        expect(get("/1/catalog/dq287tq6352/edit")).to route_to("spotlight/catalog#edit", exhibit_id: '1', id: 'dq287tq6352')
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-spotlight-0.4.1 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.3.1 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.3.0 spec/routing/spotlight/exhibit_catalog_spec.rb
blacklight-spotlight-0.2.0 spec/routing/spotlight/exhibit_catalog_spec.rb