Sha256: 524bd0b2f078094c0941519082f215419d9f69830e15bf42fe62c119f63d524d

Contents?: true

Size: 751 Bytes

Versions: 33

Compression:

Stored size: 751 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 "#edit" do
      expect(get "/alexandrie/attachments/3/edit").to \
      route_to("dorsale/alexandrie/attachments#edit", id: "3")
    end

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

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

  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
dorsale-2.6.8 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.6.7 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.6.6 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.6.5 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.6.4 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.6.3 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.6.2 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.6.1 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.6.0 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.5.0 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.4.3 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.4.2 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.4.1 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.4.0 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.3.5 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.3.4 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.3.3 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.3.2 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.3.1 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb
dorsale-2.3.0 spec/routing/dorsale/alexandrie/attachments_routing_spec.rb