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