Sha256: abd67ea331618a22d49683626dd17b94faed9f9ff048804d2468170c414a945e
Contents?: true
Size: 892 Bytes
Versions: 34
Compression:
Stored size: 892 Bytes
Contents
require "rails_helper" RSpec.describe Dorsale::Alexandrie::AttachmentsController, type: :routing do routes { Dorsale::Engine.routes } describe "routing" do it "#create" do expect(get "/alexandrie/attachments").to \ route_to("dorsale/alexandrie/attachments#index") end 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
34 entries across 34 versions & 1 rubygems