Sha256: 3d215775460d2b790eb0de4a3c4301be8c67d4fadc11e3fd81a8da7367a22689

Contents?: true

Size: 458 Bytes

Versions: 20

Compression:

Stored size: 458 Bytes

Contents

require "rails_helper"

RSpec.describe Dorsale::Alexandrie::AttachmentsController, type: :routing do
  routes { Dorsale::Engine.routes }

  describe "routing" do

    it "#create" do
      expect(post "/alexandrie/attachments").to \
      route_to("dorsale/alexandrie/attachments#create")
    end

    it "#destroy" do
      expect(delete "/alexandrie/attachments/3").to \
      route_to("dorsale/alexandrie/attachments#destroy", id: "3")
    end

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
dorsale-2.2.2 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.2.1 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.2.0 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.15 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.14 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.13 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.12 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.11 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.10 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.9 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.8 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.7 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.6 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.5 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.4 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.3 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.2 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.1 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.1.0 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.0.1 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb