Sha256: 252e003014731dc86b299cd32fa796fa5d0612106143a5abaadb49b14769a200

Contents?: true

Size: 286 Bytes

Versions: 19

Compression:

Stored size: 286 Bytes

Contents

require 'spec_helper'

describe 'downloads routing' do
  let(:noid) { '1a2b3c' }

  it "routes GET /downloads/:id" do
    expect(
      get: "/downloads/#{noid}"
    ).to(
      route_to(
        controller: "downloads",
        action: "show",
        id: noid
      )
    )
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
curate-0.6.6 spec/routing/downloads_routing_spec.rb
curate-0.6.5 spec/routing/downloads_routing_spec.rb
curate-0.6.4 spec/routing/downloads_routing_spec.rb
curate-0.6.3 spec/routing/downloads_routing_spec.rb
curate-0.6.1 spec/routing/downloads_routing_spec.rb
curate-0.6.0 spec/routing/downloads_routing_spec.rb
curate-0.5.6 spec/routing/downloads_routing_spec.rb
curate-0.5.5 spec/routing/downloads_routing_spec.rb
curate-0.5.4 spec/routing/downloads_routing_spec.rb
curate-0.5.2 spec/routing/downloads_routing_spec.rb
curate-0.5.1 spec/routing/downloads_routing_spec.rb
curate-0.5.0 spec/routing/downloads_routing_spec.rb
curate-0.4.2 spec/routing/downloads_routing_spec.rb
curate-0.3.2 spec/routing/downloads_routing_spec.rb
curate-0.3.1 spec/routing/downloads_routing_spec.rb
curate-0.2.0 spec/routing/downloads_routing_spec.rb
curate-0.1.3 spec/routing/downloads_routing_spec.rb
curate-0.1.2 spec/routing/downloads_routing_spec.rb
curate-0.1.1 spec/routing/downloads_routing_spec.rb